newapi / Dockerfile
iouoracle's picture
Update Dockerfile
65d023b verified
raw
history blame
243 Bytes
#FROM pengzhile/new-api:latest
FROM ghcr.io/calcium-ion/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"]