From 5b3378f01fd617baf5f4f82738af294059f981f2 Mon Sep 17 00:00:00 2001 From: SuperSonic Date: Sun, 19 Nov 2023 04:07:43 +0000 Subject: [PATCH] fix: python --- Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index d0eb6ff..5e975d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,13 +2,14 @@ FROM debian:trixie-slim RUN apt-get update RUN apt-get install -y --no-install-recommends \ - python-is-python3 python3-pip python3-venv pipx \ + python-is-python3 python3-pip python3-venv \ rocm-cmake rocm-device-libs rocm-smi rocminfo \ librccl1 libamdhip64-dev -RUN python3 -m pipx ensurepath -RUN pipx install ipython +RUN python -m venv /root/.uruha_python +RUN /root/.uruha_python/bin/pip install ipython -WORKDIR /root +RUN mkdir -p /root/place +WORKDIR /root/place -CMD ["/usr/bin/env ipython"] +CMD ["/root/.uruha_python/bin/ipython"]