Skip to content
Snippets Groups Projects
Commit f734e863 authored by Andreas Ellewsen's avatar Andreas Ellewsen
Browse files

Merge branch 'bugfix/nginx-permissions' into 'master'

Support arbitrary UIDs in frontend container

See merge request !323
parents e402aadf 807d3c43
No related branches found
No related tags found
1 merge request!323Support arbitrary UIDs in frontend container
Pipeline #131785 passed
...@@ -29,3 +29,7 @@ COPY ./docker-entrypoint.sh /docker-entrypoint.d/90-greg-frontend-env.sh ...@@ -29,3 +29,7 @@ COPY ./docker-entrypoint.sh /docker-entrypoint.d/90-greg-frontend-env.sh
CMD ["nginx", "-g", "daemon off;"] CMD ["nginx", "-g", "daemon off;"]
# Support arbitrarily assigned UIDs by making the root group
# the owner of our directory.
RUN chgrp -R 0 /app && \
chmod -R g=u /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