Spaces:
Running
Running
Download Dockerfile from joshruby/rig-live-relay: direct link, hf CLI and curl.
- Browser
- Download file 259 Bytes
-
https://huggingface.co/spaces/joshruby/rig-live-relay/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/joshruby/rig-live-relay/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/joshruby/rig-live-relay/resolve/main/Dockerfile
259 Bytes
| FROM python:3.12-slim | |
| RUN pip install --no-cache-dir fastapi==0.115.6 uvicorn==0.32.1 | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| WORKDIR /home/user/app | |
| COPY --chown=user app.py . | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--no-access-log"] | |