Skip to content

Commit

Permalink
homogenize py version to 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
ModischFabrications authored Jan 28, 2024
1 parent db416f3 commit 2247c56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# this size should be irrelevant
FROM python:3.12 as build
FROM python:3.11 as build
# exporting here is a lot safer than depending on the dev environment. Pipenv is kept out of the container by design.
COPY ./Pipfile /Pipfile
RUN pip install pipenv
Expand All @@ -9,7 +9,7 @@ RUN pipenv lock && pipenv requirements > dev-requirements.txt
# certifi+httpie allows healthchecks with tiny installation size (#37)
RUN pip install --user --no-cache-dir --no-warn-script-location -r dev-requirements.txt

FROM python:3.12-slim
FROM python:3.11-slim
# https://github.com/opencontainers/image-spec/blob/master/annotations.md
LABEL "org.opencontainers.image.title"="CutSolver"
LABEL "org.opencontainers.image.vendor"="Modisch Fabrications"
Expand Down

0 comments on commit 2247c56

Please sign in to comment.