Skip to content

Commit b6b3e6d

Browse files
authored
fix(r-python-julia): set PYTHON_DIR and PATH (#300)
1 parent fcdff19 commit b6b3e6d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

r-python-julia/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ LABEL maintainer="InseeFrLab <innovation@insee.fr>"
66
ARG PYTHON_VERSION="3.13.5"
77
ENV PYTHON_VERSION=${PYTHON_VERSION}
88

9+
# Install Python separately from system installation to avoid conflicts
10+
ARG PYTHON_DIR="/opt/python"
11+
ENV PATH="${PYTHON_DIR}/bin:${PATH}"
12+
913
USER root
1014

1115
COPY --chmod=0755 scripts/ /opt/

0 commit comments

Comments
 (0)