Download Dockerfile from mg643/brewmatch: direct link, hf CLI and curl.
- Browser
- Download file 422 Bytes
-
https://huggingface.co/spaces/mg643/brewmatch/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/mg643/brewmatch/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/mg643/brewmatch/resolve/main/Dockerfile
422 Bytes
| FROM python:3.13-slim | |
| WORKDIR /app | |
| COPY src/ src/ | |
| COPY pyproject.toml . | |
| COPY uv.lock . | |
| COPY README.md . | |
| COPY download_model.py . | |
| RUN pip install uv && uv sync --frozen | |
| RUN pip install huggingface_hub && python download_model.py | |
| EXPOSE 7860 | |
| ENV FLASK_HOST=0.0.0.0 | |
| ENV FLASK_PORT=7860 | |
| CMD ["uv", "run", "gunicorn", "brewmatch.api.app:create_app()", \ | |
| "--bind", "0.0.0.0:7860", "--workers", "2", "--timeout", "120"] |