From 1f116fda9cd55db360738f602d6b8eb80e9c19b3 Mon Sep 17 00:00:00 2001 From: Eloi Ferrer Date: Thu, 7 Sep 2023 14:58:13 +0000 Subject: [PATCH] change port to 80 --- Dockerfile | 2 ++ nginx.conf | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ba752d2..a1f17d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,4 +18,6 @@ RUN pip install -r requirements.txt --src /usr/local/src COPY nginx.conf /etc/nginx RUN chmod +x ./start.sh + +EXPOSE 80 CMD ["./start.sh"] \ No newline at end of file diff --git a/nginx.conf b/nginx.conf index c742c3d..25ad077 100644 --- a/nginx.conf +++ b/nginx.conf @@ -24,8 +24,8 @@ http { index index.html index.htm; server { - listen 5000 default_server; - listen [::]:5000 default_server; + listen 80 default_server; + listen [::]:80 default_server; server_name localhost; root /var/www/html;