File size: 194 Bytes
0df509a
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
FROM justsong/one-api
EXPOSE 3000
ENV PORT 3000
ENV THEME=barry
ENV GLOBAL_WEB_RATE_LIMIT=600
ENV GLOBAL_API_RATE_LIMIT=1800

RUN mkdir /data/logs
RUN chmod -R 777 /data

ENTRYPOINT ["/one-api"]