chore: dockerfile for realtime relay
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# Minimal sovereign WebSocket relay image for the lego-builder rooms.
|
||||
# Only needs `ws` — none of the React/build deps.
|
||||
FROM node:20-alpine
|
||||
WORKDIR /app
|
||||
RUN npm init -y >/dev/null 2>&1 && npm pkg set type=module >/dev/null 2>&1 && npm install ws@8 >/dev/null 2>&1
|
||||
COPY server ./server
|
||||
EXPOSE 8090
|
||||
CMD ["node", "server/index.js"]
|
||||
Reference in New Issue
Block a user