FROM node:22-bookworm ENV PUPPETEER_SKIP_DOWNLOAD=true ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true RUN apt-get update && apt-get install -y --no-install-recommends \ build-essential \ python3 \ cmake \ pkg-config \ git \ curl \ unzip \ ca-certificates \ jq \ && rm -rf /var/lib/apt/lists/* # Install Bun (used for the single-file `--compile` step) RUN curl -fsSL https://bun.sh/install | bash ENV PATH="/root/.bun/bin:${PATH}" WORKDIR /source CMD /source/build.sh