Spaces:
Sleeping
Sleeping
Download Dockerfile from duqing026/lead-scoring-engine: direct link, hf CLI and curl.
- Browser
- Download file 298 Bytes
-
https://huggingface.co/spaces/duqing026/lead-scoring-engine/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/duqing026/lead-scoring-engine/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/duqing026/lead-scoring-engine/resolve/main/Dockerfile
298 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| # Create a non-root user for security (Hugging Face Spaces requirement) | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV PATH="/home/user/.local/bin:$PATH" | |
| CMD ["python", "app.py"] | |