Tweak nginx config/start

This commit is contained in:
2024-12-17 14:23:47 +00:00
parent bae01ed569
commit 60563bc20b

View File

@@ -15,4 +15,5 @@ COPY --from=build-stage /app/dist /usr/share/nginx/html
EXPOSE 80
COPY ./nginx/entrypoint.sh ./docker-entrypoint.d/entrypoint.sh
RUN chmod +x ./docker-entrypoint.d/entrypoint.sh
CMD ["nginx", "-g", "daemon off;"]
RUN echo "daemon off;" >> /etc/nginx/nginx.conf
CMD ["nginx"]