Update Dockerfile

This commit is contained in:
Benoit TELLIER
2022-11-04 10:48:24 +07:00
committed by Dat H. Pham
parent 1fcac735b4
commit 01e85f7fcb
+2 -1
View File
@@ -49,4 +49,5 @@ COPY --from=build-env /app/build/web /usr/share/nginx/html
# Record the exposed port # Record the exposed port
EXPOSE 80 EXPOSE 80
CMD gzip -k -f /usr/share/nginx/html/assets/env.file && nginx -g 'daemon off;' # Before stating NGinx, re-zip all the content to ensure customizations are propagated
CMD gzip -k -r /usr/share/nginx/html/ && nginx -g 'daemon off;'