mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
chown uploads
This commit is contained in:
parent
2f0cc4e64a
commit
1af209cd24
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue