updated dockerfile

This commit is contained in:
lenape
2025-03-04 22:37:42 +00:00
parent 0d210d0524
commit d023f0ef63
2 changed files with 5 additions and 1 deletions

View File

@@ -4,6 +4,10 @@ RUN apt-get update && apt-get install -y nginx
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 -s reload
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]