FROM node:22-alpine # Lightweight build deps for any future native modules (qrcode is pure JS; # baileys uses precompiled libsignal). git is needed by some pnpm workflows. # Install pnpm globally via npm — avoids corepack's per-user cache that # breaks when the container runs as a non-root host UID with HOME=/tmp. RUN apk add --no-cache git python3 make g++ \ && npm install -g pnpm@9.12.0 WORKDIR /workspace ENV PNPM_HOME=/workspace/.pnpm-store CMD ["tail", "-f", "/dev/null"]