Spaces:
Sleeping
Sleeping
Download Dockerfile from Neetu143/meta_hackathon: direct link, hf CLI and curl.
- Browser
- Download file 673 Bytes
-
https://huggingface.co/spaces/Neetu143/meta_hackathon/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Neetu143/meta_hackathon/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Neetu143/meta_hackathon/resolve/main/Dockerfile
673 Bytes
| FROM python:3.10-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| ENV PYTHONUNBUFFERED=1 | |
| ENV PIP_NO_CACHE_DIR=1 | |
| WORKDIR /app | |
| RUN apt-get update \ | |
| && apt-get install -y --no-install-recommends curl \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY pyproject.toml README.md openenv.yaml inference.py .env.example uv.lock /app/ | |
| COPY server /app/server | |
| COPY support_triage_env /app/support_triage_env | |
| RUN python -m pip install --upgrade pip \ | |
| && python -m pip install . | |
| EXPOSE 8000 | |
| HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \ | |
| CMD curl -f http://localhost:8000/health || exit 1 | |
| CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "8000"] | |