Download Dockerfile from devansh1a/AIGOV: direct link, hf CLI and curl.
- Browser
- Download file 550 Bytes
-
https://huggingface.co/spaces/devansh1a/AIGOV/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/devansh1a/AIGOV/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/devansh1a/AIGOV/resolve/main/Dockerfile
550 Bytes
| FROM python:3.11-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| PIP_NO_CACHE_DIR=1 | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| poppler-utils \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY legal_agentic_system/requirements.txt /app/requirements.txt | |
| RUN pip install --upgrade pip && pip install -r /app/requirements.txt gunicorn | |
| COPY . /app | |
| WORKDIR /app/legal_agentic_system | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--workers", "1", "--threads", "8", "app:app"] | |