From def87ee81c88559e2b04f15bd01cee6e81d66cfe Mon Sep 17 00:00:00 2001 From: Ivan Vandot Date: Mon, 16 Nov 2020 23:28:29 +0100 Subject: [PATCH] set permissions for /app/uploads for volume mount --- docker/production/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/production/Dockerfile b/docker/production/Dockerfile index 71b3e4e57..cc67e3f16 100644 --- a/docker/production/Dockerfile +++ b/docker/production/Dockerfile @@ -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