dockerfile使用yarn install

This commit is contained in:
whyour
2022-01-07 00:18:12 +08:00
parent d2e23341eb
commit 5a5f4b8065
3 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ RUN set -x \
&& pnpm install -g pm2 \
&& pnpm install -g ts-node typescript tslib \
&& rm -rf /root/.npm \
&& pnpm install --prod \
&& yarn install --prod \
&& rm -rf /root/.pnpm-store \
&& git clone -b ${QL_BRANCH} https://github.com/${QL_MAINTAINER}/qinglong-static.git /static \
&& cp -rf /static/* ${QL_DIR} \