Spaces:
Running
Running
Download Dockerfile from sysvelop/sentrythetaai: direct link, hf CLI and curl.
- Browser
- Download file 465 Bytes
-
https://huggingface.co/spaces/sysvelop/sentrythetaai/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/sysvelop/sentrythetaai/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/sysvelop/sentrythetaai/resolve/main/Dockerfile
465 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Install system dependencies | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| gcc \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Copy requirements and install | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy application source | |
| COPY . . | |
| # Hugging Face Spaces expects port 7860 | |
| ENV PORT=7860 | |
| ENV HOST=0.0.0.0 | |
| EXPOSE 7860 | |
| # Launch server | |
| CMD ["python", "main.py", "run-server"] | |