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 43af802 commit 14a3732Copy full SHA for 14a3732
{{cookiecutter.project_slug}}/Dockerfile
@@ -37,8 +37,9 @@ WORKDIR /home/user/app
37
COPY --chown=user:user --from=test /home/user/app/requirements.txt requirements.txt
38
COPY --chown=user:user --from=test /home/user/app/dist dist
39
40
-RUN pip install --no-cache -r requirements.txt dist/*.whl --user
41
-
+USER root
+RUN pip install --no-cache -r requirements.txt dist/*.whl
42
+USER user
43
44
ENTRYPOINT ["python", "-m", "{{cookiecutter.package_name}}.{{cookiecutter.module_name}}"]
45
0 commit comments