rclon commited on
Commit
58a0dee
1 Parent(s): 2322b16

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -2
Dockerfile CHANGED
@@ -1,2 +1,8 @@
1
- FROM pengzhile/new-api
2
- RUN mkdir -p /data && chmod 777 /data
 
 
 
 
 
 
 
1
+ # 第一阶段:构建阶段
2
+ FROM pengzhile/new-api
3
+
4
+ # 创建 /data 目录并赋予 UID 1000 的用户权限
5
+ RUN mkdir -p /data && chown 777 /data
6
+
7
+
8
+ CMD ["/data/one-api"]