FROM node:22-alpine # Install Python 3 and required dependencies RUN apk add --no-cache python3 py3-pip WORKDIR /app COPY package.json package-lock.json* ./ RUN npm ci --ignore-scripts COPY . . # Install Python dependencies (use --break-system-packages since this is a container) RUN pip3 install --no-cache-dir --break-system-packages -r requirements.txt RUN npm run build EXPOSE 3000 CMD ["node", "dist/index.js"]