Revert to the old CMD

This commit is contained in:
Nguyen Thai
2022-11-18 16:19:01 +07:00
committed by Dat H. Pham
parent 7fb0781980
commit 1bba2e33fe
+1 -2
View File
@@ -35,5 +35,4 @@ COPY --from=build-env /app/build/web /usr/share/nginx/html
EXPOSE 80 EXPOSE 80
# Before stating NGinx, re-zip all the content to ensure customizations are propagated # Before stating NGinx, re-zip all the content to ensure customizations are propagated
RUN gzip -k -f -r /usr/share/nginx/html/ CMD gzip -k -r /usr/share/nginx/html/ && nginx -g 'daemon off;'
CMD ["nginx", "-g", "daemon off;"]