Revert "Build gz files during build, not during startup (Closes: #3920)"

This reverts commit 02a7adc64a.
This commit is contained in:
Dat PHAM HOANG
2025-08-22 14:44:29 +07:00
committed by Dat H. Pham
parent 3c15c34d8c
commit 5058327edd
+1 -2
View File
@@ -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;'