daemon edit in Dockerfile

This commit is contained in:
lenape
2025-03-04 22:42:11 +00:00
parent d023f0ef63
commit 0d78d9a713

View File

@@ -6,6 +6,7 @@ COPY index.html /usr/share/nginx/html/index.html
RUN sed -i 's|root /var/www/html;|root /usr/share/nginx/html;|' /etc/nginx/sites-available/default && \
nginx -t && \
nginx -g 'daemon off;' && \
nginx -s reload
EXPOSE 80