Spaces:
Sleeping
Sleeping
Download Dockerfile from devendergarg14/AnimateMyImages: direct link, hf CLI and curl.
- Browser
- Download file 418 Bytes
-
https://huggingface.co/spaces/devendergarg14/AnimateMyImages/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/devendergarg14/AnimateMyImages/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/devendergarg14/AnimateMyImages/resolve/main/Dockerfile
418 Bytes
| FROM manimcommunity/manim:v0.18.1 | |
| USER root | |
| # Install required fonts (Roboto + emoji) | |
| RUN apt-get update && apt-get install -y \ | |
| fonts-roboto \ | |
| fonts-noto-color-emoji | |
| COPY requirements.txt . | |
| RUN pip install --upgrade pip | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| WORKDIR /app | |
| COPY . /app | |
| # Fix permissions | |
| RUN chown -R manimuser:manimuser /app | |
| USER manimuser | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] |