Spaces:
Build error
Build error
Download Dockerfile from SpacesExamples/shiny-with-python: direct link, hf CLI and curl.
- Browser
- Download file 413 Bytes
-
https://huggingface.co/spaces/SpacesExamples/shiny-with-python/resolve/da6f8107abd0980098fb730906aec68bf7f792d9/Dockerfile
- Command line
-
hf download hf://spaces/SpacesExamples/shiny-with-python@da6f8107abd0980098fb730906aec68bf7f792d9/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/SpacesExamples/shiny-with-python/resolve/da6f8107abd0980098fb730906aec68bf7f792d9/Dockerfile
413 Bytes
| FROM ubuntu:kinetic | |
| # Doesn't usually have an "upgrade" | |
| RUN apt-get update \ | |
| && DEBIAN_FRONTEND=noninteractive \ | |
| apt-get install --no-install-recommends --assume-yes \ | |
| build-essential \ | |
| python3 \ | |
| python3-dev \ | |
| python3-pip | |
| COPY requirements.txt . | |
| RUN pip install -r requirements.txt | |
| COPY . . | |
| ENTRYPOINT ["/bin/sh", "-c"] | |
| EXPOSE 7860 | |
| CMD ["shiny run --port 7860 --host 0.0.0.0 app.py"] |