From 1bba2e33fe2361f4e173a5276b435ae5a0de1aa2 Mon Sep 17 00:00:00 2001 From: Nguyen Thai Date: Fri, 18 Nov 2022 16:19:01 +0700 Subject: [PATCH] Revert to the old CMD --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0064f3eb1..a4dda0d57 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,5 +35,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 -f -r /usr/share/nginx/html/ -CMD ["nginx", "-g", "daemon off;"] +CMD gzip -k -r /usr/share/nginx/html/ && nginx -g 'daemon off;'