DaisyChain-Infer / Dockerfile
Quazim0t0's picture
DaisyChain-Infer: live Space
6d2fcee verified
Raw
History Blame Contribute Delete
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"]