set permissions for /app/uploads for volume mount

This commit is contained in:
Ivan Vandot 2020-11-16 23:28:29 +01:00
parent 06a1233fc2
commit 13fb242c82

View File

@ -33,6 +33,8 @@ FROM alpine
RUN apk add --no-cache openssl ncurses-libs file postgresql-client
RUN mkdir -p /app/uploads && chown nobody:nobody /app/uploads
USER nobody
EXPOSE 4000