修改dockerfile

This commit is contained in:
whyour 2022-01-29 12:15:25 +08:00
parent 0ab5494744
commit 0a53a7001e

View File

@ -24,7 +24,6 @@ RUN git clone -b ${QL_BRANCH} ${QL_URL} ${QL_DIR} \
&& cp -rf /usr/local/pnpm-global/5/node_modules/sqlite3 ./node_modules/ \
&& cp -rf /usr/local/pnpm-global/5/node_modules/.pnpm/sqlite* ./node_modules/.pnpm/ \
&& git checkout . \
&& pnpm install --prod \
&& rm -rf /root/.pnpm-store \
&& git clone -b ${QL_BRANCH} https://github.com/${QL_MAINTAINER}/qinglong-static.git /static \
&& cp -rf /static/* ${QL_DIR} \