Download Dockerfile from txtorg/stream: direct link, hf CLI and curl.
- Browser
- Download file 403 Bytes
-
https://huggingface.co/spaces/txtorg/stream/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/txtorg/stream/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/txtorg/stream/resolve/main/Dockerfile
403 Bytes
| # Use an official Node.js image | |
| FROM node:18 | |
| sgsgsue??/6 | |
| # Install FFmpeg | |
| RUN apt-get update && \ | |
| apt-get install -y ffmpeg && \ | |
| rm -rf /var/lib/apt/lists/* | |
| # Set the working directory | |
| WORKDIR /app | |
| RUN npm install express axios cors fluent-ffmpeg | |
| # Copy the rest of the application | |
| COPY . . | |
| RUN chmod -R 777 /app | |
| # Expose port 3000 | |
| EXPOSE 7860 | |
| # Start the server | |
| CMD ["node", "server.js"] |