diff --git a/Dockerfile b/Dockerfile index 074f74c77..52bf78623 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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;'