Spaces:
Running
Running
Download Dockerfile from towardsai-tutors/tai_helper: direct link, hf CLI and curl.
- Browser
- Download file 384 Bytes
-
https://huggingface.co/spaces/towardsai-tutors/tai_helper/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/towardsai-tutors/tai_helper/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/towardsai-tutors/tai_helper/resolve/main/Dockerfile
384 Bytes
| FROM python:3.13-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| PORT=7860 | |
| WORKDIR /opt/tai-helper | |
| COPY pyproject.toml README.md ./ | |
| COPY tai_helper ./tai_helper | |
| COPY static ./static | |
| COPY data ./data | |
| RUN pip install --no-cache-dir uv \ | |
| && uv pip install --system -e . | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "tai_helper.api:app", "--host", "0.0.0.0", "--port", "7860"] | |