Skip to content

Commit

Permalink
use python 3.12 and alpine 3.19 as base docker image refs #139
Browse files Browse the repository at this point in the history
  • Loading branch information
infinityofspace committed Jan 12, 2024
1 parent debb973 commit 4f51c5b
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,4 +1,4 @@
FROM python:3.11-alpine3.17 AS build-image
FROM python:3.12-alpine3.19 AS build-image

RUN apk add --no-cache gcc musl-dev libffi-dev openssl-dev cargo git \
&& if [[ $(uname -m) == armv6* || $(uname -m) == armv7* ]]; then \
Expand All @@ -19,7 +19,7 @@ RUN pip install -r requirements.txt
COPY . .
RUN pip install .

FROM python:3.11-alpine3.17
FROM python:3.12-alpine3.19

COPY --from=build-image /opt/venv /opt/venv

Expand Down

0 comments on commit 4f51c5b

Please sign in to comment.