Spaces:
Runtime error
Runtime error
[fix] Dockerfile for new conda
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -60,6 +60,9 @@ RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
|
|
| 60 |
&& rm -f Miniconda3-latest-Linux-x86_64.sh
|
| 61 |
ENV PATH /app/miniconda/bin:$PATH
|
| 62 |
|
|
|
|
|
|
|
|
|
|
| 63 |
RUN conda create -p /app/env -y python=3.10
|
| 64 |
|
| 65 |
SHELL ["conda", "run","--no-capture-output", "-p","/app/env", "/bin/bash", "-c"]
|
|
|
|
| 60 |
&& rm -f Miniconda3-latest-Linux-x86_64.sh
|
| 61 |
ENV PATH /app/miniconda/bin:$PATH
|
| 62 |
|
| 63 |
+
RUN conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main
|
| 64 |
+
RUN conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r
|
| 65 |
+
|
| 66 |
RUN conda create -p /app/env -y python=3.10
|
| 67 |
|
| 68 |
SHELL ["conda", "run","--no-capture-output", "-p","/app/env", "/bin/bash", "-c"]
|