From f77889ac7380772acbae0f56f8b2586c3e74ceab Mon Sep 17 00:00:00 2001 From: lenape Date: Tue, 4 Mar 2025 23:00:01 +0000 Subject: [PATCH] another update to Dockerfile --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ad76fe1..4186bdd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,11 @@ FROM python:3.9-slim-buster -RUN apt-get update && apt-get install -y nginx +RUN apt-get update && DEBIAN_FRONTEND=noninteractive 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 -g 'daemon off;' && \ nginx -s reload EXPOSE 80