Skip to content

Commit

Permalink
chown whilst copying files into container
Browse files Browse the repository at this point in the history
  • Loading branch information
trickeydan committed Dec 31, 2023
1 parent 3012dd3 commit d183391
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions etc/docker/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,9 @@ RUN mkdir /app/media

COPY --from=builder ${VIRTUAL_ENV} ${VIRTUAL_ENV}

COPY ./kmicms/kmicms/configuration.prod.py ./kmicms/configuration.py
COPY --chown=wagtail:wagtail ./kmicms/kmicms/configuration.prod.py ./kmicms/configuration.py

COPY kmicms .

RUN chown -R wagtail:wagtail .
COPY --chown=wagtail:wagtail kmicms .

USER wagtail

Expand Down

0 comments on commit d183391

Please sign in to comment.