Bug: Another attempt at fixing static.
All checks were successful
CVE Scan & Docker Build / security-scan (push) Successful in 1m11s
CVE Scan & Docker Build / build-and-push (push) Successful in 1m23s

This commit is contained in:
2026-05-17 15:47:21 -04:00
parent 9f6176c478
commit e1545139ab

View File

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