Set global write permissions on upload directories

To play nicely with tmpfs mounts
This commit is contained in:
3np 2021-04-06 00:59:02 +09:00
parent 3fdccd49d5
commit f0b2204e72
1 changed files with 2 additions and 0 deletions

View File

@ -10,4 +10,6 @@ COPY . /teddit/
RUN npm install --no-optional RUN npm install --no-optional
COPY config.js.template /teddit/config.js COPY config.js.template /teddit/config.js
RUN find /teddit/static/ -type d -exec chmod -R 777 {} \;
CMD npm start CMD npm start