We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31e6766 commit d423bd0Copy full SHA for d423bd0
docker/Dockerfile
@@ -41,5 +41,11 @@ RUN python manage.py collectstatic --noinput
41
# since they are instead generated by webpack.
42
RUN python -m whitenoise.compress .build
43
44
+RUN groupadd --gid 9500 treeherder && \
45
+ useradd --uid 9500 --gid 9500 --no-create-home --shell /bin/sh treeherder && \
46
+ chown -R treeherder:treeherder /app
47
+
48
+USER treeherder
49
50
ENTRYPOINT ["/bin/bash", "/app/docker/entrypoint_prod.sh"]
51
CMD ["web"]
0 commit comments