rclon commited on
Commit
bfde18c
1 Parent(s): 9655dd0

Update Dockerfile

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