npm config set registry https://registry.npmmirror.com
npm install -g pnpm
pnpm install
pnpm docs:dev
pnpm docs:build
docker pull igeekfan/freesql-doc:latest
docker run --name freesql-doc -d -p 8081:80 igeekfan/freesql-doc:latest
这样我们就可以通过 http://localhost:8081 访问文档了。
docker stop freesql-doc
docker rm freesql-doc
docker rmi igeekfan/freesql-doc
docker build -t igeekfan/freesql-doc .
docker tag igeekfan/freesql-doc igeekfan/freesql-doc:latest
docker login
## 推送到docker hub
docker push igeekfan/freesql-doc:latest
## 运行本地镜像
docker run --name freesql-doc -d -p 8081:80 igeekfan/freesql-doc:latest
pnpm up [email protected]
pnpm up @vuepress/[email protected]
pnpm up @vuepress/[email protected]
pnpm up @vuepress/[email protected]
pnpm up @vuepress/[email protected]
pnpm up [email protected]