Spaces:
Runtime error
Runtime error
Download Dockerfile.cpu from hbs2/Sutme: direct link, hf CLI and curl.
- Browser
- Download file 607 Bytes
-
https://huggingface.co/spaces/hbs2/Sutme/resolve/main/Dockerfile.cpu
- Command line
-
hf download hf://spaces/hbs2/Sutme/Dockerfile.cpu
-
curl -L -o Dockerfile.cpu https://huggingface.co/spaces/hbs2/Sutme/resolve/main/Dockerfile.cpu
607 Bytes
| FROM python:3.11-slim-bullseye | |
| WORKDIR /subgen | |
| ADD https://raw.githubusercontent.com/McCloudS/subgen/main/requirements.txt /subgen/requirements.txt | |
| RUN apt-get update \ | |
| && apt-get install -y \ | |
| python3 \ | |
| python3-pip \ | |
| ffmpeg \ | |
| && apt-get clean \ | |
| && rm -rf /var/lib/apt/lists/* \ | |
| && pip install -r requirements.txt | |
| ENV PYTHONUNBUFFERED=1 | |
| ADD https://raw.githubusercontent.com/McCloudS/subgen/main/launcher.py /subgen/launcher.py | |
| ADD https://raw.githubusercontent.com/McCloudS/subgen/main/subgen.py /subgen/subgen.py | |
| CMD [ "bash", "-c", "python3 -u launcher.py" ] | |