Spaces:
Sleeping
Sleeping
Download Dockerfile from waroca/datapass-server: direct link, hf CLI and curl.
- Browser
- Download file 369 Bytes
-
https://huggingface.co/spaces/waroca/datapass-server/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/waroca/datapass-server/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/waroca/datapass-server/resolve/main/Dockerfile
369 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Install uv | |
| RUN pip install uv | |
| # Copy requirements | |
| COPY requirements.txt . | |
| # Install dependencies | |
| RUN uv pip install --system -r requirements.txt | |
| # Copy code | |
| COPY . . | |
| # Expose port | |
| EXPOSE 7860 | |
| # Run the server | |
| # HF Spaces expect the app to run on port 7860 | |
| CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"] | |