From 2f0cc4e64a73945913f097e92b319be85c62d3b2 Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Fri, 23 Mar 2018 16:19:52 +0000 Subject: [PATCH] chown uploads --- services/filestore/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/services/filestore/Dockerfile b/services/filestore/Dockerfile index 9a01b4da61..4ca82556fc 100644 --- a/services/filestore/Dockerfile +++ b/services/filestore/Dockerfile @@ -13,6 +13,7 @@ RUN npm run compile:all FROM node:8.9.1 COPY --from=0 /app /app +RUN chown app uploads # All app and node_modules will be owned by root. # The app will run as the 'app' user, and so not have write permissions # on any files it doesn't need.