ausername-12345
sync with sebebeb-relay.hf.space: fix API URL to /v1/chat/completions, add debug endpoint, restore OpenAI payload format
0a988dd Download Dockerfile from Sebebeb/relay: direct link, hf CLI and curl.
- Browser
- Download file 206 Bytes
-
https://huggingface.co/spaces/Sebebeb/relay/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Sebebeb/relay/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Sebebeb/relay/resolve/main/Dockerfile
206 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| RUN pip install --no-cache-dir fastapi uvicorn httpx | |
| COPY app.py . | |
| COPY static/ static/ | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |