Spaces:
Sleeping
Sleeping
Download Dockerfile from ColdAshSage/reed: direct link, hf CLI and curl.
- Browser
- Download file 361 Bytes
-
https://huggingface.co/spaces/ColdAshSage/reed/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ColdAshSage/reed/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ColdAshSage/reed/resolve/main/Dockerfile
361 Bytes
| FROM python:3.12-slim | |
| WORKDIR /app | |
| # uv for fast, deterministic installs | |
| COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /usr/local/bin/ | |
| COPY pyproject.toml uv.lock ./ | |
| COPY settings.yaml ./ | |
| RUN uv sync --frozen --no-dev | |
| COPY app ./app | |
| ENV PYTHONUNBUFFERED=1 | |
| EXPOSE 7860 | |
| CMD ["uv", "run", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"] | |