Download Dockerfile from eggacheb/newapi: direct link, hf CLI and curl.
- Browser
- Download file 202 Bytes
-
https://huggingface.co/spaces/eggacheb/newapi/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/eggacheb/newapi/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/eggacheb/newapi/resolve/main/Dockerfile
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"] |