I believe you should replace line 43 in the Dockerfile:
RUN npm install -g npm
with the command:
RUN npm install -g pnpm
Also, modify line 115 in the bootstrap.sh file:
npm install --loglevel verbose
to:
pnpm install --loglevel verbose
This is what I think, and I wish you success!!