ricebug commited on
Commit
f1a23ca
·
verified ·
1 Parent(s): 3e52caf

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 使用官方 Node.js 运行时作为基础镜像
2
+ FROM node:20-slim
3
+
4
+ # 设置工作目录
5
+ WORKDIR /app
6
+
7
+ # 安装 AgentScope Studio
8
+ RUN npm install -g @agentscope/studio
9
+
10
+ # 暴露默认端口(假设 Studio 使用 3000,如果不同请修改)
11
+ EXPOSE 3000
12
+
13
+ # 容器启动时运行 Studio
14
+ CMD ["as_studio"]