daemon running background

This commit is contained in:
lenape
2025-03-04 23:05:33 +00:00
parent f77889ac73
commit 527f368644

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