修改dockerfile

This commit is contained in:
whyour 2022-01-29 14:23:19 +08:00
parent f6a828f0af
commit d502ac6e0f

View File

@ -23,6 +23,7 @@ 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} \