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