Parcourir la source

Actualiza el puerto y pongo 8080

Celestino Rey il y a 1 an
Parent
commit
c0ba2edd5f
2 fichiers modifiés avec 2 ajouts et 4 suppressions
  1. 1 3
      Dockerfile
  2. 1 1
      nginx/default.conf

+ 1 - 3
Dockerfile

@@ -29,9 +29,7 @@ RUN python -m venv /opt/venv && \
 # make our entrypoint.sh executable
 RUN chmod +x config/entrypoint.sh
 
-EXPOSE 80
-
-USER 0
+EXPOSE 8080
 
 # execute our entrypoint.sh file
 CMD ["./config/entrypoint.sh"]

+ 1 - 1
nginx/default.conf

@@ -5,7 +5,7 @@ upstream django_project {
 error_log /var/log/nginx/error.log;
 
 server {
-    listen       80;
+    listen       8080;
 
     access_log /var/log/nginx/access.log;