diff --git a/docker/image/Dockerfile b/docker/image/Dockerfile index 62402ad0..129534db 100644 --- a/docker/image/Dockerfile +++ b/docker/image/Dockerfile @@ -4,7 +4,8 @@ ENV NODE_ENV production ENV MIDWAY_SERVER_ENV production WORKDIR /app/ ENV node_sqlite3_binary_host_mirror https://registry.npmmirror.com/-/binary/sqlite3 -RUN npm install -g pnpm@8.15.7 +RUN npm install -g pnpm@8.15.7 --registry=https://registry.npmmirror.com +RUN pnpm config set registry https://registry.npmmirror.com/ #RUN npm install cross-env -g --registry=https://registry.npmmirror.com #RUN npm install pm2 -g --registry=https://registry.npmmirror.com #RUN pm2 install pm2-logrotate