Spaces:
Sleeping
Sleeping
Download Dockerfile from Atdevindotcom/youtube-auto-bot: direct link, hf CLI and curl.
- Browser
- Download file 370 Bytes
-
https://huggingface.co/spaces/Atdevindotcom/youtube-auto-bot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Atdevindotcom/youtube-auto-bot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Atdevindotcom/youtube-auto-bot/resolve/main/Dockerfile
370 Bytes
| FROM node:20-slim | |
| # Install FFmpeg for video processing | |
| RUN apt-get update && apt-get install -y ffmpeg python3 make g++ | |
| WORKDIR /app | |
| # Copy package files | |
| COPY package*.json ./ | |
| RUN npm install | |
| # Copy source code | |
| COPY . . | |
| # Expose port | |
| EXPOSE 7860 | |
| # Environment variables (Defaults) | |
| ENV PORT=7860 | |
| ENV NODE_ENV=production | |
| # Run the server | |
| CMD ["node", "server.js"] | |