samlax12 commited on
Commit
317b4cb
·
verified ·
1 Parent(s): 961ba9e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -1
Dockerfile CHANGED
@@ -1 +1,12 @@
1
- FROM dairoot/grok-gateway:latest
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 基于 dairoot/grok-gateway:latest 镜像
2
+ FROM dairoot/grok-gateway:latest
3
+
4
+ # 暴露 8080 端口(容器内部端口)
5
+ EXPOSE 8080
6
+
7
+ # 创建并使用数据卷
8
+ VOLUME ["/app/.cache_data"]
9
+
10
+ # 容器启动时执行的默认命令
11
+ # 这里保留了原镜像的入口点命令
12
+ # 如果原镜像有特定的 ENTRYPOINT,这里不需要覆盖