Spaces:
Sleeping
Sleeping
| # Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker | |
| # you will also find guides on how best to write your Dockerfile | |
| # Stage 2: Runtime with Python | |
| FROM python:3.13 | |
| RUN useradd -m -u 1000 user | |
| # Copy compiled Gradio from builder and install | |
| RUN pip install https://huggingface.co/buckets/gradio/pypi-previews/resolve/25360b8a0f2e2238189ac12ce026679436b3241c/gradio-6.12.0-py3-none-any.whl | |
| WORKDIR /app | |
| COPY --chown=user . /app | |
| CMD ["python", "app.py"] | |