Skip to content

Commit

Permalink
Fix nginx access to static & media files
Browse files Browse the repository at this point in the history
Those should be under a different file tree, but that's for another issue.
  • Loading branch information
HacKanCuBa committed Apr 3, 2018
1 parent 6392670 commit b809d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ RUN cd ${APP_ROOT}/eventol && python manage.py collectstatic --noinput
RUN mkdir -p ${APP_ROOT}/eventol/media

# Chown files
RUN chmod 0750 ${APP_ROOT}
RUN chmod 0755 ${APP_ROOT}
RUN chown --recursive ${APP_USER_NAME}:${APP_USER_NAME} ${APP_ROOT}

# Drop privs
Expand Down

0 comments on commit b809d08

Please sign in to comment.