From f0b2204e72c2f89e9eed19a026de15ce39f1d950 Mon Sep 17 00:00:00 2001 From: 3np <3np@3np> Date: Tue, 6 Apr 2021 00:59:02 +0900 Subject: [PATCH] Set global write permissions on upload directories To play nicely with tmpfs mounts --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index b6fcb9b..85a7357 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,4 +10,6 @@ COPY . /teddit/ RUN npm install --no-optional COPY config.js.template /teddit/config.js +RUN find /teddit/static/ -type d -exec chmod -R 777 {} \; + CMD npm start