Spaces:
Sleeping
Sleeping
Download Dockerfile from Gini-Eddie/ATS-Intelligence-System: direct link, hf CLI and curl.
- Browser
- Download file 511 Bytes
-
https://huggingface.co/spaces/Gini-Eddie/ATS-Intelligence-System/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Gini-Eddie/ATS-Intelligence-System/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Gini-Eddie/ATS-Intelligence-System/resolve/main/Dockerfile
511 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Install basic system build dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Copy and install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy the entire project layout into the container | |
| COPY . . | |
| # Expose the mandatory Hugging Face port | |
| EXPOSE 7860 | |
| # Run Uvicorn bound to port 7860 | |
| CMD ["uvicorn", "backend.main:app", "--host", "0.0.0.0", "--port", "7860"] |