chore: dockerfile for realtime relay

This commit is contained in:
L'électron rare
2026-06-13 18:06:59 +02:00
parent c8dff33836
commit 17a6012423
+8
View File
@@ -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"]