fix: ship nginx routes with gateway release
This commit is contained in:
1 parent
3c40bff4e8
commit
02d367f008
3 files changed
+7
-3
No files matched your search
+3
-1
@@ -1,5 +1,6 @@
|
||||
FROM --platform=linux/amd64 reg.nyan404.ru/cwshed/cwshed-base:nginx-c2431df29ccc
|
||||
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
COPY web /usr/share/nginx/html
|
||||
|
||||
RUN chmod -R 755 /usr/share/nginx/html \
|
||||
@@ -7,4 +8,5 @@ RUN chmod -R 755 /usr/share/nginx/html \
|
||||
|
||||
EXPOSE 80
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
#+ Static gateway image: package the web assets with the prebuilt nginx base used in production.
|
||||
#+ The release image carries its own Nginx routing configuration, so new public
|
||||
#+ routes are deployed together with their application and static assets.
|
||||
Reference in new issue
Block a user