From ba4e02618739bbabbf0400f2e7cc76e0de8e02d3 Mon Sep 17 00:00:00 2001 From: Nicholas Long Date: Tue, 10 Dec 2019 10:30:05 -0700 Subject: [PATCH] make sure pm_imports folder is writable by uwsgi --- docker/seed-entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/seed-entrypoint.sh b/docker/seed-entrypoint.sh index da2d8b8efe..2fe8f1b126 100644 --- a/docker/seed-entrypoint.sh +++ b/docker/seed-entrypoint.sh @@ -4,6 +4,7 @@ # call docker-compose run and expect the response to be in the command line. mkdir -p /seed/collected_static && chmod 775 /seed/collected_static mkdir -p /seed/media && chmod 777 /seed/media +mkdir -p /seed/media/uploads/pm_imports && chmod 777 /seed/media/uploads/pm_imports # set the owner to uwsgi chown -R uwsgi /seed/collected_static