From 01e85f7fcb3e643fb6bdc9abbb13d67911e32f48 Mon Sep 17 00:00:00 2001 From: Benoit TELLIER Date: Fri, 4 Nov 2022 10:48:24 +0700 Subject: [PATCH] Update Dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;'