Skip to content

Commit

Permalink
⬆️ Bump to python 3.12 (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddelange authored Apr 5, 2024
1 parent d42a665 commit 6c16482
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
Expand Up @@ -16,7 +16,7 @@ RUN ./bootstrap.sh && \
pkg-config --cflags libpostal

# create venv
RUN python3.11 -m venv ${VIRTUAL_ENV} && \
RUN python3.12 -m venv ${VIRTUAL_ENV} && \
pip install -U pip setuptools wheel

# install and record server dependencies (copy runtime source code only in final stage)
Expand All @@ -25,7 +25,7 @@ RUN pip install -r requirements.txt
RUN find-libdeps ${VIRTUAL_ENV} > ${VIRTUAL_ENV}/pkgdeps.txt

# final stage
FROM ghcr.io/alpha-affinity/snakepacker/runtime:3.11-master
FROM ghcr.io/alpha-affinity/snakepacker/runtime:3.12-master

# copy libpostal and install venv
COPY --from=builder /usr/share/libpostal /usr/share/libpostal
Expand Down

0 comments on commit 6c16482

Please sign in to comment.