mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 14:56:07 +08:00
修改dockerfile
This commit is contained in:
parent
f12c75f91b
commit
b53db97b98
|
@ -18,7 +18,8 @@ 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 \
|
||||||
&& pnpm uninstall sqlite3 \
|
&& pnpm uninstall sqlite3 &>/dev/null \
|
||||||
|
&& rm -rf node_modules \
|
||||||
&& pnpm install --prod \
|
&& 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/ \
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
"panel": "npm run build:back && node build/app.js",
|
"panel": "npm run build:back && node build/app.js",
|
||||||
"schedule": "npm run build:back && node build/schedule.js",
|
"schedule": "npm run build:back && node build/schedule.js",
|
||||||
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
|
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
|
||||||
|
"prepare": "umi generate tmp",
|
||||||
"test": "umi-test",
|
"test": "umi-test",
|
||||||
"test:coverage": "umi-test --coverage"
|
"test:coverage": "umi-test --coverage"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user