chown uploads

This commit is contained in:
Henry Oswald 2018-03-23 16:19:52 +00:00
parent 73f77b5667
commit 2f0cc4e64a

View file

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