FROM node:22-bullseye-slim WORKDIR /app ENV NODE_ENV=production RUN apt-get update \ && apt-get install -y --no-install-recommends \ build-essential \ ca-certificates \ python3 \ python3-pip \ python-is-python3 \ && rm -rf /var/lib/apt/lists/* COPY package*.json ./ RUN npm ci --omit=dev COPY . . EXPOSE 4443 CMD ["npm", "start"]