Spaces:
Runtime error
Runtime error
Download Dockerfile from aung990/MyVideoBot: direct link, hf CLI and curl.
- Browser
- Download file 342 Bytes
-
https://huggingface.co/spaces/aung990/MyVideoBot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/aung990/MyVideoBot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/aung990/MyVideoBot/resolve/main/Dockerfile
342 Bytes
| FROM python:3.10-slim | |
| # Install FFmpeg and Fontconfig | |
| RUN apt-get update && apt-get install -y ffmpeg fontconfig && rm -rf /var/lib/apt/lists/* | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy all files to the server | |
| COPY . . | |
| # Install Python packages | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Run the bot | |
| CMD ["python", "main.py"] |