Spaces:
Sleeping
Sleeping
Download Dockerfile from trhacknon/trkn-hackrx: direct link, hf CLI and curl.
- Browser
- Download file 394 Bytes
-
https://huggingface.co/spaces/trhacknon/trkn-hackrx/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/trhacknon/trkn-hackrx/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/trhacknon/trkn-hackrx/resolve/main/Dockerfile
394 Bytes
| FROM python:3.10-slim-bullseye | |
| WORKDIR /app | |
| # System dependencies | |
| RUN apt-get update && apt-get install -y git && apt-get upgrade -y && apt-get clean | |
| # Install Python deps | |
| COPY requirements.txt . | |
| RUN pip install --upgrade pip && pip install -r requirements.txt | |
| # Copy source | |
| COPY . . | |
| ENV PORT=7860 | |
| CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"] | |