Browse Source

Actualiza el puerto y pongo 8080

main
Celestino Rey 9 months ago
parent
commit
c0ba2edd5f
2 changed files with 2 additions and 4 deletions
  1. +1
    -3
      Dockerfile
  2. +1
    -1
      nginx/default.conf

+ 1
- 3
Dockerfile View File

@ -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 View File

@ -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;


Loading…
Cancel
Save