Spaces:
Sleeping
Sleeping
Create Dockerfile
Browse files- Dockerfile +11 -0
Dockerfile
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM justsong/one-api
|
2 |
+
EXPOSE 3000
|
3 |
+
ENV PORT 3000
|
4 |
+
ENV THEME=barry
|
5 |
+
ENV GLOBAL_WEB_RATE_LIMIT=600
|
6 |
+
ENV GLOBAL_API_RATE_LIMIT=1800
|
7 |
+
|
8 |
+
RUN mkdir /data/logs
|
9 |
+
RUN chmod -R 777 /data
|
10 |
+
|
11 |
+
ENTRYPOINT ["/one-api"]
|