Jack698 commited on
Commit
e5738c2
·
verified ·
1 Parent(s): f7dc134

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. Dockerfile +11 -0
  2. README.md +11 -10
Dockerfile ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 依然使用官方的预构建镜像作为基础
2
+ FROM dairoot/grok-gateway:latest
3
+
4
+ # -----------------------------------------------------------------
5
+ # 这一步就是您所说的“创建test目录”,以解决权限和文件创建问题
6
+ # 我们在应用启动前,就确保它需要的目录已经存在
7
+ RUN mkdir -p /app/.cache_data
8
+ # -----------------------------------------------------------------
9
+
10
+ # 将这个目录声明为数据卷,以便平台进行持久化
11
+ VOLUME /app/.cache_data
README.md CHANGED
@@ -1,10 +1,11 @@
1
- ---
2
- title: Grokmirror
3
- emoji: 📉
4
- colorFrom: green
5
- colorTo: gray
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: Zaipy
3
+ emoji: 🏢
4
+ colorFrom: blue
5
+ colorTo: purple
6
+ sdk: docker
7
+ pinned: false
8
+ app_port: 8080
9
+ ---
10
+
11
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference