nodejs version is 15.0, use nvm
nvm install 15 && nvm use 15
npm install
or
yarn install
npm run start
npm run build
本地测试
docker build -t kexie-hello-web-local -f deploy/Dockerfile . && docker run --rm -p 8088:80 kexie-hello-web-local
生产环境
docker buildx build --platform linux/amd64 -t kexie-hello-web -f deploy/Dockerfile . ; docker tag kexie-hello-web docker.kexie.space/kexie/kexie-hello-web:latest ; docker push docker.kexie.space/kexie/kexie-hello-web:latest