guohanghui commited on
Commit
19da504
·
verified ·
1 Parent(s): e1f8d2f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -26,10 +26,11 @@ ENV MCP_TRANSPORT=http
26
  ENV MCP_PORT=7860
27
 
28
  # ✅ 关键修改:在构建阶段下载并保存在 /app(会被保留到最终镜像中)
29
- RUN mkdir -p /app/qlib_data/cn_data && \
30
  wget -q https://github.com/chenditc/investment_data/releases/latest/download/qlib_bin.tar.gz -O /tmp/qlib_bin.tar.gz && \
31
- tar -zxf /tmp/qlib_bin.tar.gz -C /app/qlib_data/cn_data --strip-components=1 && \
32
  rm -f /tmp/qlib_bin.tar.gz
33
 
 
34
  # 🧩 启动命令
35
  CMD ["python", "qlib/mcp_output/start_mcp.py"]
 
26
  ENV MCP_PORT=7860
27
 
28
  # ✅ 关键修改:在构建阶段下载并保存在 /app(会被保留到最终镜像中)
29
+ RUN mkdir -p /app/qlib_data && \
30
  wget -q https://github.com/chenditc/investment_data/releases/latest/download/qlib_bin.tar.gz -O /tmp/qlib_bin.tar.gz && \
31
+ tar -zxf /tmp/qlib_bin.tar.gz -C /app/qlib_data --strip-components=1 && \
32
  rm -f /tmp/qlib_bin.tar.gz
33
 
34
+
35
  # 🧩 启动命令
36
  CMD ["python", "qlib/mcp_output/start_mcp.py"]