Spaces:
Sleeping
Sleeping
Download Dockerfile from padreydecano/clips: direct link, hf CLI and curl.
- Browser
- Download file 636 Bytes
-
https://huggingface.co/spaces/padreydecano/clips/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/padreydecano/clips/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/padreydecano/clips/resolve/main/Dockerfile
636 Bytes
| FROM python:3.12-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| ENV PYTHONUNBUFFERED=1 | |
| ENV PIP_NO_CACHE_DIR=1 | |
| ENV CLIP_EDITOR_PRESET=medium | |
| RUN apt-get update \ | |
| && apt-get install -y --no-install-recommends \ | |
| ffmpeg fontconfig fonts-dejavu-core libglib2.0-0 libgl1 libsm6 libxext6 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements_space.txt . | |
| RUN pip install -r requirements_space.txt | |
| COPY subtitle_editor.py clip_workflow.py ./ | |
| COPY assets ./assets | |
| RUN mkdir -p /data/library | |
| EXPOSE 7860 | |
| CMD ["python", "subtitle_editor.py", "--programs-root", "/data/library", "--host", "0.0.0.0", "--port", "7860", "--no-open"] | |