mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 14:26:07 +08:00
修复pnpm全局安装
This commit is contained in:
parent
c71d34cbac
commit
89f7b99a94
|
@ -39,8 +39,9 @@ RUN set -x \
|
|||
&& git config --global user.email "qinglong@@users.noreply.github.com" \
|
||||
&& git config --global user.name "qinglong" \
|
||||
&& npm install -g pnpm \
|
||||
&& pnpm install -g pm2 \
|
||||
&& pnpm install -g ts-node typescript tslib \
|
||||
&& pnpm setup \
|
||||
&& source /root/.bashrc \
|
||||
&& pnpm add -g pm2 ts-node typescript tslib \
|
||||
&& git clone -b ${QL_BRANCH} ${QL_URL} ${QL_DIR} \
|
||||
&& cd ${QL_DIR} \
|
||||
&& cp -f .env.example .env \
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
## 添加你需要重启自动执行的任意命令,比如 ql repo
|
||||
## 安装node依赖使用 pnpm install -g xxx xxx
|
||||
## 安装node依赖使用 pnpm add -g xxx xxx
|
||||
## 安装python依赖使用 pip3 install xxx
|
||||
|
|
|
@ -98,7 +98,7 @@ check_pm2() {
|
|||
|
||||
main() {
|
||||
echo -e "=====> 开始检测"
|
||||
pnpm install -g pm2
|
||||
pnpm add -g pm2
|
||||
copy_dep
|
||||
check_ql
|
||||
check_nginx
|
||||
|
|
Loading…
Reference in New Issue
Block a user