Skip to content

Commit 897f096

Browse files
authored
Update Dockerfile
1 parent ae84aee commit 897f096

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ RUN apt update && apt install -y build-essential cmake ninja-build patchelf wget
77

88
RUN mkdir -p /app
99
WORKDIR /app
10-
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && bash Miniconda3-latest-Linux-x86_64.sh -b -p /app/conda
10+
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && bash Miniconda3-latest-Linux-x86_64.sh -b -p /app/miniconda
11+
RUN /app/miniconda/bin/conda init bash
12+
ENV PATH=/app/miniconda/bin:$PATH
1113

12-
RUN /app/conda/bin/conda init
13-
RUN conda create --name ktransformers python=3.11
14+
RUN echo yes | conda create --name ktransformers python=3.11
1415
SHELL ["conda", "run", "-n", "ktransformers", "/bin/bash", "-c"]
1516
RUN conda activate ktransformers
1617
RUN conda install -c conda-forge libstdcxx-ng && strings ~/anaconda3/envs/ktransformers/lib/libstdc++.so.6 | grep GLIBCXX

0 commit comments

Comments
 (0)