删除未使用依赖

This commit is contained in:
whyour
2021-03-19 21:13:23 +08:00
parent 9d28a8a0db
commit 8ed071bc29
2 changed files with 2 additions and 26 deletions
+2 -1
View File
@@ -38,9 +38,10 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
&& yarn install \
&& yarn build \
&& yarn build-back \
&& yarn install --production \
&& git clone -b ${JD_SCRIPTS_BRANCH} ${JD_SCRIPTS_URL} ${JD_DIR}/scripts \
&& cd ${JD_DIR}/scripts \
&& npm install \
&& npm install --production\
&& npm install -g pm2 \
&& rm -rf /root/.npm
WORKDIR ${JD_DIR}