Spaces:
Running
Running
Download Dockerfile from evalstate/birch-html: direct link, hf CLI and curl.
- Browser
- Download file 277 Bytes
-
https://huggingface.co/spaces/evalstate/birch-html/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/evalstate/birch-html/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/evalstate/birch-html/resolve/main/Dockerfile
277 Bytes
| FROM python:3.12-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| SITE_ROOT=/data | |
| RUN pip install --no-cache-dir fastapi "uvicorn[standard]" | |
| WORKDIR /app | |
| COPY app.py /app/app.py | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |