Spaces:
Running
Running
Update Dockerfile
Browse files- 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"]
|