Download Dockerfile from newman21/stream: direct link, hf CLI and curl.
- Browser
- Download file 367 Bytes
-
https://huggingface.co/spaces/newman21/stream/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/newman21/stream/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/newman21/stream/resolve/main/Dockerfile
367 Bytes
| FROM node:20-alpine | |
| # Installa git (necessario su Alpine) | |
| RUN apk add --no-cache git | |
| WORKDIR /app | |
| # Clona il repository direttamente nella cartella /app | |
| RUN git clone https://github.com/qwertyuiop8899/SelfStream . | |
| # Installa le dipendenze | |
| RUN npm install | |
| # HF usa la porta 7860 | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| # Compila l'addon | |
| RUN npm run build | |
| CMD ["npm", "start"] |