Skip to content
Snippets Groups Projects
Commit 4c8bb929 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

Merge branch 'fix-site-media' into 'main'

Merge: fix /app/site_media permission

See merge request !32
parents a254d0f7 1e772a7d
No related branches found
No related tags found
1 merge request!32Merge: fix /app/site_media permission
Pipeline #7515 passed
......@@ -33,7 +33,13 @@ COPY . .
RUN adduser --home /app --no-create-home --system --uid ${AURA_UID} --group app
RUN mkdir -p /app/logs
# static/admin and site_media are named volumes which we use across multiple
# containers. We therefore create them here and set the permissions right away
# since named volumes otherwise create these directories themself as the root
# user.
RUN mkdir -p /app/static/admin
RUN mkdir -p /app/site_media
# set permissions
RUN chown -R app:app /app
USER app
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment