File size: 219 Bytes
44787e0
c331020
 
0df509a
 
 
 
 
 
 
c90d021
 
1
2
3
4
5
6
7
8
9
10
11
12
FROM justsong/one-api:latest
EXPOSE 7860
ENV PORT 7860
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"]
CMD ["/bin/sh"]