Bug: Another attempt at fixing static.
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user