FROM node:16.17.1 LABEL beaconfire RUN apt-get update && \ apt-get install -y --no-install-recommends ca-certificates curl rsync && \ rm -rf /var/lib/apt/lists/ && \ git config --global --add safe.directory '*' && \ npm install -g pnpm && \ pnpm config set store-dir ~/.pnpm && \ pnpm config set modules-dir ~/.pnpm && \ pnpm config set state-dir ~/.pnpm/state