Download Dockerfile from mikeee/oneapi: direct link, hf CLI and curl.
- Browser
- Download file 429 Bytes
-
https://huggingface.co/spaces/mikeee/oneapi/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/mikeee/oneapi/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/mikeee/oneapi/resolve/main/Dockerfile
429 Bytes
| # FROM justsong/one-api | |
| # FROM justsong/one-api-en:latest | |
| # EXPOSE 3000 | |
| # set app_port=3000 in read.md | |
| # ENV PORT=3000 \ | |
| #ENV THEME=barry \ | |
| # GLOBAL_WEB_RATE_LIMIT=600 \ | |
| # GLOBAL_API_RATE_LIMIT=1800 | |
| # RUN mkdir /data/logs && chmod -R 777 /data | |
| # ENTRYPOINT ["/one-api"] | |
| # FROM justsong/one-api-en:latest | |
| FROM justsong/one-api:latest | |
| RUN mkdir /data/logs && chmod -R 777 /data | |
| EXPOSE 7860 | |
| ENV PORT=7860 | |
| ENTRYPOINT ["/one-api"] |