mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-25 16:36:07 +08:00
修改dockfile
This commit is contained in:
parent
458c9c456b
commit
711af8d4a5
|
@ -18,9 +18,11 @@ RUN git clone -b ${QL_BRANCH} ${QL_URL} ${QL_DIR} \
|
||||||
&& cp -f .env.example .env \
|
&& cp -f .env.example .env \
|
||||||
&& chmod 777 ${QL_DIR}/shell/*.sh \
|
&& chmod 777 ${QL_DIR}/shell/*.sh \
|
||||||
&& chmod 777 ${QL_DIR}/docker/*.sh \
|
&& chmod 777 ${QL_DIR}/docker/*.sh \
|
||||||
&& mkdir -p node_modules \
|
&& pnpm uninstall sqlite3 \
|
||||||
|
&& pnpm install --prod \
|
||||||
&& 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/ \
|
&& cp -rf /usr/local/pnpm-global/5/node_modules/.pnpm/sqlite* ./node_modules/.pnpm/ \
|
||||||
|
&& git checkout . \
|
||||||
&& pnpm install --prod \
|
&& pnpm install --prod \
|
||||||
&& rm -rf /root/.pnpm-store \
|
&& rm -rf /root/.pnpm-store \
|
||||||
&& git clone -b ${QL_BRANCH} https://github.com/${QL_MAINTAINER}/qinglong-static.git /static \
|
&& git clone -b ${QL_BRANCH} https://github.com/${QL_MAINTAINER}/qinglong-static.git /static \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user