Spaces:
Running
Running
Download Dockerfile from Blablablab/potato: direct link, hf CLI and curl.
- Browser
- Download file 703 Bytes
-
https://huggingface.co/spaces/Blablablab/potato/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Blablablab/potato/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Blablablab/potato/resolve/main/Dockerfile
703 Bytes
| # HuggingFace Space for a Potato task. | |
| # | |
| # Derived from the published image rather than built from source. The catalog | |
| # Spaces copy the whole potato package — 930 files, several minutes of build per | |
| # Space — and there is no reason to: the image already contains the server, and | |
| # the Space only has to supply the project. | |
| FROM ghcr.io/davidjurgens/potato:latest | |
| # HuggingFace runs Spaces as uid 1000, which the base image already uses. | |
| USER potato | |
| WORKDIR /app | |
| COPY --chown=potato:potato . /app | |
| # Spaces route to 7860, which the image already listens on. | |
| ENV POTATO_CONFIG=config.yaml \ | |
| PORT=7860 \ | |
| GUNICORN_WORKERS=1 \ | |
| GUNICORN_THREADS=8 \ | |
| POTATO_NONINTERACTIVE=1 | |
| EXPOSE 7860 | |