浏览代码

chown uploads

Henry Oswald 8 年之前
父节点
当前提交
1af209cd24
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      services/filestore/Dockerfile

+ 1 - 1
services/filestore/Dockerfile

@@ -13,7 +13,7 @@ RUN npm run compile:all
 FROM node:8.9.1
 FROM node:8.9.1
 
 
 COPY --from=0 /app /app
 COPY --from=0 /app /app
-RUN chown app uploads
+RUN chown app:app /app/uploads
 # All app and node_modules will be owned by root.
 # All app and node_modules will be owned by root.
 # The app will run as the 'app' user, and so not have write permissions
 # The app will run as the 'app' user, and so not have write permissions
 # on any files it doesn't need.
 # on any files it doesn't need.