mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-21 23:44:30 +00:00
set permissions for /app/uploads for volume mount
This commit is contained in:
parent
06a1233fc2
commit
13fb242c82
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,8 @@ FROM alpine
|
||||||
|
|
||||||
RUN apk add --no-cache openssl ncurses-libs file postgresql-client
|
RUN apk add --no-cache openssl ncurses-libs file postgresql-client
|
||||||
|
|
||||||
|
RUN mkdir -p /app/uploads && chown nobody:nobody /app/uploads
|
||||||
|
|
||||||
USER nobody
|
USER nobody
|
||||||
EXPOSE 4000
|
EXPOSE 4000
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue