Spaces:
Runtime error
Runtime error
Download Dockerfile from Jordan001237/TP-INF-232: direct link, hf CLI and curl.
- Browser
- Download file 353 Bytes
-
https://huggingface.co/spaces/Jordan001237/TP-INF-232/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Jordan001237/TP-INF-232/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Jordan001237/TP-INF-232/resolve/main/Dockerfile
353 Bytes
| FROM python:3.11-slim | |
| COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/ | |
| WORKDIR /code | |
| # Paths locaux maintenant que le Dockerfile est dans backend/ | |
| COPY pyproject.toml uv.lock* /code/ | |
| RUN uv pip install --system --no-cache -r /code/pyproject.toml | |
| COPY . /code | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app.app:app", "--host", "0.0.0.0", "--port", "7860"] |