# QUIXZOOM WebSocket Server Dockerfile FROM node:20-alpine WORKDIR /app # Install dependencies COPY package.json ./ RUN npm install --production # Copy application code COPY websocket/ ./websocket/ COPY app/ ./app/ COPY urban-knowledge-graph/ ./urban-knowledge-graph/ COPY identity-engine/ ./identity-engine/ COPY fleet-intelligence/ ./fleet-intelligence/ COPY value-score/ ./value-score/ COPY persistence/ ./persistence/ # Expose port EXPOSE 8080 # Health check HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ CMD wget --no-verbose --tries=1 --spider http://localhost:8080/health || exit 1 # Start server CMD ["node", "websocket/server.js"]