Skip to content

Instantly share code, notes, and snippets.

@dklawren
Last active June 4, 2020 22:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dklawren/47160179898c966724b45dce821efafb to your computer and use it in GitHub Desktop.
Save dklawren/47160179898c966724b45dce821efafb to your computer and use it in GitHub Desktop.
Fix hg missing issue
diff --git a/Dockerfile b/Dockerfile
index 2d122bf..936c8e2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -109,7 +109,9 @@ RUN composer global require hirak/prestissimo
COPY --chown=app:app . /app
-RUN pip install --user --require-hashes -r requirements.txt
+USER root
+RUN pip install --require-hashes -r requirements.txt
+USER app
# Move static resources to phabricator, add files to celerity map array
COPY moz-extensions/src/motd/css/MozillaMOTD.css /app/phabricator/webroot/rsrc/css/MozillaMOTD.css
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment