Spaces:
Paused
Paused
Download Dockerfile from hackvermin/Scheduling-agent: direct link, hf CLI and curl.
- Browser
- Download file 470 Bytes
-
https://huggingface.co/spaces/hackvermin/Scheduling-agent/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/hackvermin/Scheduling-agent/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/hackvermin/Scheduling-agent/resolve/main/Dockerfile
470 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Install uv securely from the official image | |
| COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/ | |
| # Copy dependency manifests | |
| COPY pyproject.toml uv.lock ./ | |
| # Generate virtual environment and sync dependencies | |
| RUN uv sync --frozen | |
| # Copy the rest of the application | |
| COPY . . | |
| # Expose Hugging Face's default web routing port | |
| EXPOSE 7860 | |
| # Run the OpenEnv ASGI server entrypoint | |
| CMD ["uv", "run", "python", "-m", "server.app"] | |