docker(minor): ensure passbook user can write
This commit is contained in:
parent
a390bb7b59
commit
40a651e66c
|
@ -3,7 +3,8 @@ FROM docker.beryju.org/passbook/base:latest
|
||||||
COPY ./passbook/ /app/passbook
|
COPY ./passbook/ /app/passbook
|
||||||
COPY ./manage.py /app/
|
COPY ./manage.py /app/
|
||||||
COPY ./docker/uwsgi.ini /app/
|
COPY ./docker/uwsgi.ini /app/
|
||||||
|
RUN chown -R passbook: /app
|
||||||
USER passbook
|
|
||||||
|
|
||||||
WORKDIR /app/
|
WORKDIR /app/
|
||||||
|
|
||||||
|
USER passbook
|
||||||
|
|
Reference in a new issue