Skip to content

Commit

Permalink
fix: python
Browse files Browse the repository at this point in the history
  • Loading branch information
supersonictw committed Nov 19, 2023
1 parent c653dd6 commit 5b3378f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 5b3378f

Please sign in to comment.