Download Dockerfile from fast72/rain: direct link, hf CLI and curl.
- Browser
- Download file 247 Bytes
-
https://huggingface.co/spaces/fast72/rain/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/fast72/rain/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/fast72/rain/resolve/main/Dockerfile
247 Bytes
| FROM node:20-slim | |
| RUN apt-get update && apt-get install -y ffmpeg build-essential git curl && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY package*.json ./ | |
| RUN npm install --omit=dev | |
| COPY . . | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["node", "index.js"] |