修复git_pull部分命令导致无法添加cron

This commit is contained in:
whyour
2021-03-29 11:40:30 +08:00
parent 306419158e
commit 02ed509a7f
2 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ RUN cd ${QL_DIR} \
&& yarn build-back \
&& git clone -b ${QL_SCRIPTS_BRANCH} ${QL_SCRIPTS_URL} ${QL_DIR}/scripts \
&& cd ${QL_DIR}/scripts \
&& npm install \
&& npm install --no-save \
&& npm install -g pm2 \
&& rm -rf /root/.npm
ENTRYPOINT ["entrypoint"]