Update Dockerfile
Browse files- Dockerfile +7 -0
Dockerfile
CHANGED
|
@@ -4,6 +4,13 @@ FROM node:20-slim
|
|
| 4 |
# 设置工作目录
|
| 5 |
WORKDIR /app
|
| 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
# 安装 AgentScope Studio
|
| 8 |
RUN npm install -g @agentscope/studio
|
| 9 |
|
|
|
|
| 4 |
# 设置工作目录
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
+
# 安装 Python(比如构建阶段需要用到)
|
| 8 |
+
RUN apt-get update && apt-get install -y python3 python3-pip \
|
| 9 |
+
&& apt-get clean \
|
| 10 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
+
|
| 12 |
+
RUN pip install agentscope
|
| 13 |
+
|
| 14 |
# 安装 AgentScope Studio
|
| 15 |
RUN npm install -g @agentscope/studio
|
| 16 |
|