修复dockerfile

This commit is contained in:
hanhh
2021-07-01 00:38:33 +08:00
parent a35c0cb64e
commit 7d417a11c9
2 changed files with 21 additions and 132 deletions
+3 -4
View File
@@ -37,10 +37,9 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
&& cp -f .env.example .env \
&& chmod 777 ${QL_DIR}/shell/*.sh \
&& chmod 777 ${QL_DIR}/docker/*.sh \
&& yarn install --network-timeout 100000 \
&& yarn build \
&& yarn build-back \
&& yarn cache clean \
&& pnpm install \
&& pnpm build \
&& pnpm build-back \
&& rm -rf node_modules \
&& npm install -g pm2 \
&& npm install -g pnpm \