Merge branch 'dockerfile-volume-fix' into 'master'

fix: fix permissions for /app/uploads for volume mount

See merge request framasoft/mobilizon!711
This commit is contained in:
Thomas Citharel 2020-11-18 12:03:44 +01:00
commit 8db8314528

View File

@ -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