使用 pnpm 代替 yarn

This commit is contained in:
whyour
2021-05-16 23:09:20 +08:00
parent aa61fa7a45
commit e7355842d9
3 changed files with 8 additions and 6 deletions
+3 -2
View File
@@ -33,7 +33,8 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
&& chmod 777 ${QL_DIR}/shell/*.sh \
&& chmod 777 ${QL_DIR}/docker/*.sh \
&& npm install -g pm2 \
&& npm install -g pnpm \
&& rm -rf /root/.npm \
&& yarn install --production --network-timeout 100000 \
&& yarn cache clean
&& pnpm install --prod \
&& rm -rf /root/.pnpm-store
ENTRYPOINT ["./docker/docker-entrypoint.sh"]