diff --git a/Dockerfile b/Dockerfile index eca764ff0..2eacb23e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -49,4 +49,5 @@ COPY --from=build-env /app/build/web /usr/share/nginx/html # Record the exposed port EXPOSE 80 -CMD gzip -k -f /usr/share/nginx/html/assets/env.file && nginx -g 'daemon off;' \ No newline at end of file +# 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;'