FROM node:18-alpine WORKDIR /app RUN npm config set registry https://registry.npmmirror.com COPY package*.json ./ RUN npm ci COPY . . RUN npm run build EXPOSE 80 # Serve SPA + proxy streaming API on port 80 ENV PORT=80 CMD ["node", "server/index.mjs"]