makes nginx process run in fg to keep container alive

This commit is contained in:
2022-07-31 19:19:06 -07:00
parent d0359ec0d8
commit 4b0afaa0be

View File

@@ -8,4 +8,4 @@ RUN hugo
FROM nginx:latest as server_stage
COPY --from=build_stage /opt/scottyah-blog/hugo-content/public/ /usr/share/nginx/html
EXPOSE 80
CMD ["nginx"]
CMD ["nginx", "-g", "daemon off;"]