diff --git a/Dockerfile b/Dockerfile index 986ce77..7df0351 100644 --- a/Dockerfile +++ b/Dockerfile @@ -85,8 +85,8 @@ RUN chmod +x /usr/local/bin/entrypoint.sh # matches the convention for a single-application container. RUN groupadd --gid 1000 mnemosyne \ && useradd --uid 1000 --gid mnemosyne --home /app --no-create-home --shell /sbin/nologin mnemosyne \ - && mkdir -p /app/media /app/logs \ - && chown -R mnemosyne:mnemosyne /app + && mkdir -p /app/media /app/logs /mnt/static /mnt/media \ + && chown -R mnemosyne:mnemosyne /app /mnt/static /mnt/media USER mnemosyne # The compose file overrides this per service. Default = Django web.