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

Support arbitrary UIDs in frontend container

parent e402aadf
No related branches found
No related tags found
1 merge request!323Support arbitrary UIDs in frontend container
Pipeline #131783 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