Spaces:
Paused
Paused
Download Dockerfile from Ricky01anjay/AutoClip: direct link, hf CLI and curl.
- Browser
- Download file 469 Bytes
-
https://huggingface.co/spaces/Ricky01anjay/AutoClip/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Ricky01anjay/AutoClip/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Ricky01anjay/AutoClip/resolve/main/Dockerfile
469 Bytes
| FROM python:3.9-slim | |
| RUN apt-get update && apt-get install -y \ | |
| ffmpeg \ | |
| imagemagick \ | |
| fonts-dejavu \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN find /etc -type f -name "policy.xml" -exec sed -i '/@\*/d' {} \; | |
| WORKDIR /app | |
| RUN pip install --no-cache-dir \ | |
| flask \ | |
| requests \ | |
| faster-whisper \ | |
| moviepy==1.0.3 \ | |
| werkzeug \ | |
| google-generativeai | |
| COPY . . | |
| RUN mkdir -p downloads && chmod -R 777 /app | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] |