Spaces:
Runtime error
Runtime error
Download Dockerfile from PickyBinders/stoic-space: direct link, hf CLI and curl.
- Browser
- Download file 443 Bytes
-
https://huggingface.co/spaces/PickyBinders/stoic-space/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/PickyBinders/stoic-space/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/PickyBinders/stoic-space/resolve/main/Dockerfile
443 Bytes
| FROM python:3.10-slim | |
| RUN apt-get update && \ | |
| apt-get install -y --no-install-recommends git && \ | |
| rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| RUN pip install --no-cache-dir \ | |
| "stoic @ git+https://github.com/PickyBinders/stoic.git" | |
| RUN pip install --no-cache-dir gradio==6.9.0 | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV HOME=/home/user | |
| COPY --chown=user . . | |
| EXPOSE 7860 | |
| ENV GRADIO_SERVER_NAME="0.0.0.0" | |
| CMD ["python", "app.py"] | |