Skip to content

Commit

Permalink
update to python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
markusressel committed Jun 1, 2024
1 parent 1f0e375 commit 6810a83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Docker image for barcode-server
# dont use alpine for python builds: https://pythonspeed.com/articles/alpine-docker-python/
FROM python:3.12-slim-buster
FROM python:3.12-slim

ENV PYTHONUNBUFFERED=1
ENV POETRY_VERSION="1.4.1"
Expand All @@ -15,6 +15,7 @@ RUN apt-get update \
&& python3 -m venv ${VENV_HOME} \
&& ${VENV_HOME}/bin/pip install --upgrade pip \
&& ${VENV_HOME}/bin/pip install "poetry==${POETRY_VERSION}" \
&& ${VENV_HOME}/bin/pip install "setuptools" \
&& ${VENV_HOME}/bin/poetry check \
&& POETRY_VIRTUALENVS_CREATE=false ${VENV_HOME}/bin/poetry install --no-interaction --no-cache --only main \
&& ${VENV_HOME}/bin/pip uninstall -y poetry
Expand Down

0 comments on commit 6810a83

Please sign in to comment.