rr1 commited on
Commit
976cbaa
·
verified ·
1 Parent(s): 9e8456e

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +22 -0
Dockerfile ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:18.18.0
2
+
3
+ # 安装git
4
+ RUN apt-get update && apt-get install -y git
5
+
6
+ # 设置工作目录
7
+ WORKDIR /app
8
+
9
+ # 安装pnpm
10
+ RUN npm install -g pnpm
11
+
12
+ # 克隆Git仓库
13
+ RUN git clone https://github.com/u14app/deep-research.git .
14
+
15
+ # 安装依赖
16
+ RUN pnpm install
17
+
18
+ # 暴露开发服务器端口
19
+ EXPOSE 3000
20
+
21
+ # 启动开发服务器
22
+ CMD ["pnpm", "dev"]