Revert "Build gz files during build, not during startup (Closes: #3920)"
This reverts commit 02a7adc64a.
This commit is contained in:
committed by
Dat H. Pham
parent
3c15c34d8c
commit
5058327edd
+1
-2
@@ -25,5 +25,4 @@ COPY --from=build-env /app/build/web /usr/share/nginx/html
|
||||
EXPOSE 80
|
||||
|
||||
# Before stating NGinx, re-zip all the content to ensure customizations are propagated
|
||||
RUN gzip -k -r -f /usr/share/nginx/html/
|
||||
CMD nginx -g 'daemon off;'
|
||||
CMD gzip -k -r -f /usr/share/nginx/html/ && nginx -g 'daemon off;'
|
||||
|
||||
Reference in New Issue
Block a user