Spaces:
Running
Running
Download Dockerfile from ql6/BeamBridge: direct link, hf CLI and curl.
- Browser
- Download file 796 Bytes
-
https://huggingface.co/spaces/ql6/BeamBridge/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ql6/BeamBridge/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ql6/BeamBridge/resolve/main/Dockerfile
796 Bytes
| FROM python:3.11-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| HOME=/tmp \ | |
| SETUPTOOLS_SCM_PRETEND_VERSION=2026.1.0 | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y --no-install-recommends git ca-certificates && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt /app/requirements.txt | |
| RUN pip install --no-cache-dir -r /app/requirements.txt | |
| COPY . /app | |
| RUN pip install --no-cache-dir --no-deps \ | |
| /app/real_github_repos/py-moneyed \ | |
| /app/real_github_repos/price-parser \ | |
| /app/real_github_repos/schwifty \ | |
| /app/real_github_repos/python-stdnum \ | |
| && pip install --no-cache-dir typing_extensions attrs babel iso3166 pycountry rstr \ | |
| && chmod -R a+rX /app | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "backend.main:app", "--host", "0.0.0.0", "--port", "7860"] | |