lingdino commited on
Commit
8f235fb
·
verified ·
1 Parent(s): 2563282

Upload 2 files

Browse files
Files changed (2) hide show
  1. Dockerfile +19 -0
  2. README.md +6 -8
Dockerfile ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:18-alpine
2
+
3
+ WORKDIR /app
4
+
5
+ # 每次构建时拉取最新代码
6
+ RUN apk add --no-cache git && \
7
+ git clone https://github.com/u14app/deep-research.git . && \
8
+ # 确保拉取最新代码
9
+ git pull origin main && \
10
+ npm install
11
+
12
+ # 构建应用
13
+ RUN npm run build
14
+
15
+ # 暴露端口
16
+ EXPOSE 7860
17
+
18
+ # 启动命令
19
+ CMD ["npm", "run", "start", "--", "-p", "7860"]
README.md CHANGED
@@ -1,10 +1,8 @@
1
  ---
2
- title: Dr
3
- emoji:
4
- colorFrom: purple
5
- colorTo: pink
6
  sdk: docker
7
- pinned: false
8
- ---
9
-
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: Deep Research with Google Gemini
3
+ emoji: 🧠
4
+ colorFrom: blue
5
+ colorTo: green
6
  sdk: docker
7
+ app_port: 7860
8
+ ---