Browse Source

Actualizar 'Dockerfile'

main
creylopez 10 months ago
parent
commit
228e71e8bc
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Dockerfile

+ 2
- 2
Dockerfile View File

@ -23,8 +23,6 @@ RUN chown -R nginx:0 /var/log/nginx && \
RUN touch /var/run/nginx.pid && \ RUN touch /var/run/nginx.pid && \
chown -R nginx:0 /var/run/nginx.pid chown -R nginx:0 /var/run/nginx.pid
USER nginx
# change our working directory to the django projcet roo # change our working directory to the django projcet roo
WORKDIR /app WORKDIR /app
@ -38,5 +36,7 @@ RUN python -m venv /opt/venv && \
# make our entrypoint.sh executable # make our entrypoint.sh executable
RUN chmod +x config/entrypoint.sh RUN chmod +x config/entrypoint.sh
USER nginx
# execute our entrypoint.sh file # execute our entrypoint.sh file
CMD ["./config/entrypoint.sh"] CMD ["./config/entrypoint.sh"]

Loading…
Cancel
Save