docker(minor): ensure passbook user can write

This commit is contained in:
Jens Langhammer 2019-10-07 21:23:38 +02:00
parent a390bb7b59
commit 40a651e66c
1 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,8 @@ FROM docker.beryju.org/passbook/base:latest
COPY ./passbook/ /app/passbook
COPY ./manage.py /app/
COPY ./docker/uwsgi.ini /app/
USER passbook
RUN chown -R passbook: /app
WORKDIR /app/
USER passbook