Jonastech commited on
Commit
0df509a
1 Parent(s): 9e713f7

Create Dockerfile

Browse files
Files changed (1) hide show
  1. 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"]