Spaces:
Build error
Build error
Download Dockerfile from kaushik1064/mathagent: direct link, hf CLI and curl.
- Browser
- Download file 323 Bytes
-
https://huggingface.co/spaces/kaushik1064/mathagent/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/kaushik1064/mathagent/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/kaushik1064/mathagent/resolve/main/Dockerfile
323 Bytes
| FROM python:3.13.0 | |
| WORKDIR /code | |
| # Install Poetry | |
| RUN pip install poetry | |
| # Copy your project files | |
| COPY pyproject.toml poetry.lock ./ | |
| # Install project dependencies | |
| RUN poetry install --no-interaction --no-ansi | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["poetry", "run", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] | |