Spaces:
Sleeping
Sleeping
Download Dockerfile from MintlowYT/mintlow-node: direct link, hf CLI and curl.
- Browser
- Download file 552 Bytes
-
https://huggingface.co/spaces/MintlowYT/mintlow-node/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/MintlowYT/mintlow-node/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/MintlowYT/mintlow-node/resolve/main/Dockerfile
552 Bytes
| # Use a lightweight Python Linux image | |
| FROM python:3.10-slim | |
| # Install ffmpeg (the "engine" for video processing) | |
| RUN apt-get update && apt-get install -y ffmpeg && rm -rf /var/lib/apt/lists/* | |
| # Set up a user so we don't run as 'root' (security) | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV HOME=/home/user \ | |
| PATH=/home/user/.local/bin:$PATH | |
| WORKDIR $HOME/app | |
| # Copy your requirements and install them | |
| COPY --chown=user . . | |
| RUN pip install --no-cache-dir fastapi uvicorn yt-dlp requests | |
| # Start the Mintlow Ghost Node | |
| CMD ["python", "mintlow.py"] |