newapi / Dockerfile
eggacheb's picture
Update Dockerfile
3adadee verified
raw
history blame contribute delete
202 Bytes
FROM pengzhile/new-api:latest
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"]