diff --git a/docker/Dockerfile b/docker/Dockerfile index c5d885fe282..179b7e21513 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,6 +1,10 @@ -FROM node:18.16-alpine -RUN set -xve \ - && cd && ls -alh \ - && uname -a \ - && node -v \ - && npm -v +FROM python:3.10-alpine as builder +COPY package.json .npmrc pnpm-lock.yaml /tmp/build/ +RUN set -x \ + && apk update \ + && apk add nodejs npm git \ + && npm -v \ + && npm i -g pnpm@8.3.1 \ + && pnpm -v \ + && cd /tmp/build \ + && pnpm --registry https://registry.npmmirror.com install --prod \ No newline at end of file