Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +8 -2
Dockerfile
CHANGED
@@ -1,2 +1,8 @@
|
|
1 |
-
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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"]
|