Spaces:
Runtime error
Runtime error
ghbGC
commited on
Commit
·
fa37112
1
Parent(s):
82c8f28
update
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -11,11 +11,10 @@ RUN apt-get update && apt-get install -y wget && rm -rf /var/lib/apt/lists/*
|
|
11 |
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh \
|
12 |
&& bash miniconda.sh -b -p /opt/conda \
|
13 |
&& rm miniconda.sh \
|
14 |
-
&& /opt/conda/bin/conda update conda -y
|
15 |
-
# && /opt/conda/bin/conda clean -tipsy # 这行被注释掉了,因为它不是一个标准的conda命令
|
16 |
|
17 |
# 将 Conda 添加到 PATH
|
18 |
-
|
19 |
|
20 |
# 创建 Conda 环境
|
21 |
RUN conda create -n lagent python=3.10 -y
|
|
|
11 |
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh \
|
12 |
&& bash miniconda.sh -b -p /opt/conda \
|
13 |
&& rm miniconda.sh \
|
14 |
+
&& /opt/conda/bin/conda update conda -y
|
|
|
15 |
|
16 |
# 将 Conda 添加到 PATH
|
17 |
+
ENV PATH="/opt/conda/bin:${PATH}"
|
18 |
|
19 |
# 创建 Conda 环境
|
20 |
RUN conda create -n lagent python=3.10 -y
|