修改dockerfile

This commit is contained in:
whyour
2022-01-30 12:31:49 +08:00
parent 57fd8f378c
commit e2b9578253
2 changed files with 5 additions and 7 deletions
+1 -5
View File
@@ -18,11 +18,7 @@ RUN git clone -b ${QL_BRANCH} ${QL_URL} ${QL_DIR} \
&& cp -f .env.example .env \
&& chmod 777 ${QL_DIR}/shell/*.sh \
&& chmod 777 ${QL_DIR}/docker/*.sh \
&& sed -i '/sqlite3/d' package.json \
&& pnpm install --prod \
&& 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 . \
&& cp -rf /node_modules ./ \
&& pnpm install --prod \
&& rm -rf /root/.pnpm-store \
&& git clone -b ${QL_BRANCH} https://github.com/${QL_MAINTAINER}/qinglong-static.git /static \