Spaces:
Running
Running
Download Dockerfile from SolusOps/study-buddy: direct link, hf CLI and curl.
- Browser
- Download file 341 Bytes
-
https://huggingface.co/spaces/SolusOps/study-buddy/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/SolusOps/study-buddy/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/SolusOps/study-buddy/resolve/main/Dockerfile
341 Bytes
| FROM python:3.12-slim | |
| WORKDIR /app | |
| RUN pip install --no-cache-dir uv | |
| COPY pyproject.toml uv.lock ./ | |
| RUN uv sync --frozen --no-dev --no-install-project | |
| COPY . . | |
| RUN uv sync --frozen --no-dev | |
| ENV PATH="/app/.venv/bin:$PATH" | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860", "--ws-max-size", "67108864"] | |