Browse Source

Cambio de permisos en directorios

main
Celestino Rey 10 months ago
parent
commit
08dead1ccd
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      Dockerfile

+ 3
- 0
Dockerfile View File

@ -12,6 +12,9 @@ RUN ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/
# copy the django code
COPY ./src ./app
RUN chgrp -R 0 ./app && chmod -R g=u ./app
RUN chgrp -R 0 /var/lib/nginx && chmod -R g=u /var/lib/nginx
# change our working directory to the django projcet roo
WORKDIR /app


Loading…
Cancel
Save