Skip to content

Commit

Permalink
updated python version to 3.12.7 (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel-esp authored Dec 6, 2024
1 parent c4a007e commit 431bf30
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10-alpine3.19
FROM python:3.12.7-alpine3.20 AS builder

WORKDIR /

Expand All @@ -13,12 +13,12 @@ COPY pyproject.toml /
RUN poetry config virtualenvs.create false && \
poetry install --no-interaction --no-dev --no-ansi

FROM python:3.10-alpine3.19
FROM python:3.12.7-alpine3.20

WORKDIR /

# copy pre-built packages to this image
COPY --from=0 /usr/local/lib/python3.10/site-packages /usr/local/lib/python3.10/site-packages
COPY --from=builder /usr/local/lib/python3.12/site-packages /usr/local/lib/python3.12/site-packages

# now copy the actual code we will execute (poetry install above was just for dependencies)
COPY kube_downscaler /kube_downscaler
Expand Down

0 comments on commit 431bf30

Please sign in to comment.