Download Dockerfile from azfx/cors13: direct link, hf CLI and curl.
- Browser
- Download file 291 Bytes
-
https://huggingface.co/spaces/azfx/cors13/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/azfx/cors13/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/azfx/cors13/resolve/main/Dockerfile
291 Bytes
| FROM node:20-bullseye | |
| WORKDIR /app | |
| COPY package*.json ./ | |
| RUN npm install && \ | |
| wget -O /usr/local/bin/yt-dlp https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp && \ | |
| chmod a+rx /usr/local/bin/yt-dlp && \ | |
| hash -r | |
| COPY . . | |
| EXPOSE 3000 | |
| CMD ["node", "index.js"] |