oneapibbii / Dockerfile
jammss's picture
Update Dockerfile
0c89191 verified
raw
history blame contribute delete
275 Bytes
FROM calciumion/new-api:latest
EXPOSE 3000
ENV PORT 3000
ENV BATCH_UPDATE_ENABLED=true
ENV BATCH_UPDATE_INTERVAL=120
ENV GLOBAL_WEB_RATE_LIMIT=600
ENV GLOBAL_API_RATE_LIMIT=1800
WORKDIR /data
RUN mkdir /data/logs && chmod 777 /data/logs
app_port: 3000
ENTRYPOINT ["/one-api"]