Spaces:
Paused
Paused
Download Dockerfile from Quazim0t0/DaisyChain-Infer: direct link, hf CLI and curl.
- Browser
- Download file 511 Bytes
-
https://huggingface.co/spaces/Quazim0t0/DaisyChain-Infer/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Quazim0t0/DaisyChain-Infer/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Quazim0t0/DaisyChain-Infer/resolve/main/Dockerfile
511 Bytes
| FROM node:20-slim | |
| WORKDIR /app | |
| COPY package.json ./ | |
| RUN npm install --omit=dev | |
| COPY . . | |
| # Spaces listen on 7860. | |
| ENV PORT=7860 | |
| # No LAN auto-grouping on a public URL: two strangers behind the same CGNAT or | |
| # on the same campus network share a public IP, and without this they would be | |
| # dropped into one ring together — able to see each other's addresses and each | |
| # other's activations. Every visitor creates their own room and invites devices. | |
| ENV DAISY_FORCE_ROOMS=1 | |
| EXPOSE 7860 | |
| CMD ["node", "server.js"] | |