Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Gabteni committed May 16, 2024
1 parent fd921bb commit 15df8dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ RUN export DEBIAN_FRONTEND=noninteractive \
python3-pip \
&& rm -rf /var/lib/apt/lists/*

RUN ln -s /usr/bin/python${PYTHON_VERSION} /usr/bin/python3 && \
ln -s /usr/bin/python${PYTHON_VERSION} /usr/bin/python && \
ln -s /usr/bin/pip3 /usr/bin/pip && \
RUN [ -e /usr/bin/python3 ] || ln -s /usr/bin/python${PYTHON_VERSION} /usr/bin/python3 && \
[ -e /usr/bin/python ] || ln -s /usr/bin/python${PYTHON_VERSION} /usr/bin/python && \
[ -e /usr/bin/pip ] || ln -s /usr/bin/pip3 /usr/bin/pip && \
python${PYTHON_VERSION} -m venv $POETRY_VENV && \
$POETRY_VENV/bin/pip install -U pip setuptools && \
$POETRY_VENV/bin/pip install poetry==1.6.1
Expand Down

0 comments on commit 15df8dc

Please sign in to comment.