修改镜像打包流程

This commit is contained in:
hanhh
2021-06-30 23:38:46 +08:00
parent 2a1adb2e0e
commit 2fe8c38293
4 changed files with 16 additions and 11 deletions
+5
View File
@@ -37,6 +37,11 @@ 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 \
&& yarn build \
&& yarn build-back \
&& yarn cache clean \
&& rm -rf node_modules \
&& npm install -g pm2 \
&& npm install -g pnpm \
&& rm -rf /root/.npm \