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 ee16c7e commit 0910519Copy full SHA for 0910519
sample_python_project/Dockerfile
@@ -1,4 +1,4 @@
1
-FROM python:3.8-slim as requirements
+FROM python:3.7-slim as requirements
2
3
COPY requirements.txt /tmp/requirements.txt
4
@@ -16,7 +16,7 @@ WORKDIR /app
16
RUN pytest test-pass.py --junit-xml=/reports/unit.xml
17
18
19
-FROM python:3.8-slim as production
+FROM python:3.7-slim as production
20
21
RUN useradd --create-home appuser
22
@@ -27,5 +27,3 @@ COPY --from=requirements /usr/local /usr/local
27
COPY --from=unittests /app /home/appuser/app
28
29
WORKDIR /home/appuser/app
30
-
31
-CMD ["python", "--version"]
0 commit comments