Update Dockerfile
Browse files- Dockerfile +3 -6
Dockerfile
CHANGED
|
@@ -11,16 +11,13 @@ RUN curl -fsSL https://code-server.dev/install.sh | sh
|
|
| 11 |
# 3. 安装 opencode
|
| 12 |
RUN curl -fsSL https://opencode.ai/install | bash
|
| 13 |
|
| 14 |
-
# 4. 安装
|
| 15 |
-
RUN curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash
|
| 16 |
-
|
| 17 |
-
# 5. 安装 同步库
|
| 18 |
RUN pip3 install huggingface_hub --break-system-packages
|
| 19 |
|
| 20 |
-
#
|
| 21 |
RUN mkdir -p /root/project/data /root/project/config
|
| 22 |
|
| 23 |
-
#
|
| 24 |
COPY sync.py /sync.py
|
| 25 |
COPY entrypoint.sh /entrypoint.sh
|
| 26 |
RUN chmod +x /entrypoint.sh
|
|
|
|
| 11 |
# 3. 安装 opencode
|
| 12 |
RUN curl -fsSL https://opencode.ai/install | bash
|
| 13 |
|
| 14 |
+
# 4. 安装 同步库
|
|
|
|
|
|
|
|
|
|
| 15 |
RUN pip3 install huggingface_hub --break-system-packages
|
| 16 |
|
| 17 |
+
# 5. 预设关键目录
|
| 18 |
RUN mkdir -p /root/project/data /root/project/config
|
| 19 |
|
| 20 |
+
# 6. 脚本进场
|
| 21 |
COPY sync.py /sync.py
|
| 22 |
COPY entrypoint.sh /entrypoint.sh
|
| 23 |
RUN chmod +x /entrypoint.sh
|