Skip to content

Commit 0910519

Browse files
committed
Return to python 3.7
1 parent ee16c7e commit 0910519

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

sample_python_project/Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.8-slim as requirements
1+
FROM python:3.7-slim as requirements
22

33
COPY requirements.txt /tmp/requirements.txt
44

@@ -16,7 +16,7 @@ WORKDIR /app
1616
RUN pytest test-pass.py --junit-xml=/reports/unit.xml
1717

1818

19-
FROM python:3.8-slim as production
19+
FROM python:3.7-slim as production
2020

2121
RUN useradd --create-home appuser
2222

@@ -27,5 +27,3 @@ COPY --from=requirements /usr/local /usr/local
2727
COPY --from=unittests /app /home/appuser/app
2828

2929
WORKDIR /home/appuser/app
30-
31-
CMD ["python", "--version"]

0 commit comments

Comments
 (0)