Spaces:
Paused
Paused
Download Dockerfile from sinfor/cursor2api: direct link, hf CLI and curl.
- Browser
- Download file 244 Bytes
-
https://huggingface.co/spaces/sinfor/cursor2api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/sinfor/cursor2api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/sinfor/cursor2api/resolve/main/Dockerfile
244 Bytes
| FROM ghcr.io/jiuz-chn/cursor-to-openai:latest | |
| WORKDIR /app | |
| COPY hf.js /app/hf.js | |
| RUN npm install http-proxy-middleware url | |
| ENV HF_PORT=7860 | |
| # 添加代理环境变量 | |
| ENV PROXY="" | |
| EXPOSE 7860 | |
| CMD ["sh", "-c", "node hf.js & npm run start"] |