Spaces:
Runtime error
Runtime error
Download Dockerfile from dvijaykrishnan/vault-video-processor: direct link, hf CLI and curl.
- Browser
- Download file 564 Bytes
-
https://huggingface.co/spaces/dvijaykrishnan/vault-video-processor/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/dvijaykrishnan/vault-video-processor/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/dvijaykrishnan/vault-video-processor/resolve/main/Dockerfile
564 Bytes
| FROM node:20-bullseye | |
| # Install FFmpeg, Python3 (for yt-dlp), and yt-dlp | |
| RUN apt-get update && apt-get install -y \ | |
| ffmpeg \ | |
| python3 \ | |
| python3-pip \ | |
| libvips-dev \ | |
| && pip3 install --no-cache-dir -U yt-dlp \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| # Copy package files | |
| COPY legacy_configs/fly/fly-server/package*.json ./ | |
| # Install dependencies | |
| RUN npm install | |
| # Copy server code | |
| COPY legacy_configs/fly/fly-server/server.js ./ | |
| # Expose port (7860 is default for Hugging Face Spaces) | |
| EXPOSE 7860 | |
| # Start server | |
| CMD ["npm", "start"] | |