Spaces:
Configuration error
Configuration error
Download Dockerfile from arnaupq2/RobloxVideoRO: direct link, hf CLI and curl.
- Browser
- Download file 684 Bytes
-
https://huggingface.co/spaces/arnaupq2/RobloxVideoRO/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/arnaupq2/RobloxVideoRO/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/arnaupq2/RobloxVideoRO/resolve/main/Dockerfile
684 Bytes
| FROM node:20-slim | |
| # ffmpeg y ffprobe del sistema (server.js los llama como "ffmpeg"/"ffprobe") | |
| RUN apt-get update \ | |
| && apt-get install -y --no-install-recommends ffmpeg \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY package.json package-lock.json* ./ | |
| RUN npm install --omit=dev | |
| COPY server.js ./ | |
| # El video.mp4 tiene que subirse al repo del Space (ver README). | |
| # El patrón "video.mp4*" evita que el build falle si todavía no lo has | |
| # subido, pero sin el archivo el servidor arrancará avisando por logs y | |
| # no habrá señal que servir. | |
| COPY video.mp4* ./ | |
| # Hugging Face Spaces expone por defecto el puerto 7860 | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["node", "server.js"] | |