new-api / Dockerfile
Jonastech's picture
Create Dockerfile
0df509a verified
raw
history blame
194 Bytes
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"]