From a8678b1deb2b3945d428e5f8b5aec73e8f364b41 Mon Sep 17 00:00:00 2001 From: Julian Pollinger Date: Sat, 14 Jun 2025 21:48:04 +0200 Subject: [PATCH] use venv --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9515770..8e5d0e1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,10 +21,12 @@ FROM default AS python ENV TERM=xterm-256color ARG PYTHON_PACKAGES RUN apk add --no-cache ${PYTHON_PACKAGES} -RUN python3 -m pip config set global.break-system-packages true +RUN python -m venv /root/venv +ENV PATH="/root/venv/bin:$PATH" FROM full AS full-python ENV TERM=xterm-256color ARG PYTHON_PACKAGES RUN apk add --no-cache ${PYTHON_PACKAGES} -RUN python3 -m pip config set global.break-system-packages true \ No newline at end of file +RUN python -m venv /root/venv +ENV PATH="/root/venv/bin:$PATH" \ No newline at end of file