FROM node:23-slim RUN apt-get update && apt-get install -y \ git \ curl \ unzip \ xz-utils \ libglu1-mesa \ openjdk-17-jdk-headless \ && rm -rf /var/lib/apt/lists/* RUN git clone https://github.com/flutter/flutter.git /opt/flutter ENV PATH="/opt/flutter/bin:/opt/flutter/bin/cache/dart-sdk/bin:${PATH}" RUN flutter doctor --android-licenses || true RUN flutter config --no-analytics WORKDIR /app COPY package*.json ./ RUN npm install --production COPY . . EXPOSE 8000 ENV PORT=8000 CMD ["npm", "start"]