修改dockerfile

This commit is contained in:
whyour 2022-01-28 20:27:38 +08:00
parent ae22cf064e
commit a4f4c6ac15

View File

@ -19,7 +19,8 @@ RUN git clone -b ${QL_BRANCH} ${QL_URL} ${QL_DIR} \
&& chmod 777 ${QL_DIR}/shell/*.sh \
&& chmod 777 ${QL_DIR}/docker/*.sh \
&& mkdir -p node_modules \
&& cp -rf /usr/local/pnpm-global/5/node_modules/sqlite3 node_modules/ \
&& 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/ \
&& pnpm install --prod \
&& rm -rf /root/.pnpm-store \
&& git clone -b ${QL_BRANCH} https://github.com/${QL_MAINTAINER}/qinglong-static.git /static \