Skip to content

Commit

Permalink
Merge pull request #970 from swils23/main
Browse files Browse the repository at this point in the history
Improve prod dockerfile compatibility
  • Loading branch information
epicserve authored Sep 26, 2024
2 parents 6232600 + 91c0aeb commit 491c111
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/docker/Dockerfile.web
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ COPY --chown=app:app . .

USER app

RUN SECRET_KEY=e python manage.py collectstatic --no-input
# The app user doesn't have permissions to create collected_static on some systems, so we create it here
RUN mkdir -p /srv/app/collected_static && chown -R app:app /srv/app/collected_static

COPY --from=js_assets --chown=app:app /srv/app/public/static/ ./collected_static

Expand Down

0 comments on commit 491c111

Please sign in to comment.