到香港服务器上
git pull
#更新代码
cd cd /data/app/tool-ocr/ocr-web/
git pull
#build
docker build -t ocr-web .
#搞一个docker
docker rm -f ocr-web && docker run --name ocr-web -itd --restart=always -p 2080:80 ocr-web
#提交到 hub.docker
docker build -t ocr-web . && docker tag ocr-web ydlhero/ocr-web:v1 && docker push ydlhero/ocr-web:v1
docker pull ydlhero/ocr-web:v1
docker rm -f ocr-web && docker run --name ocr-web -itd --restart=always -p 2080:80 ydlhero/ocr-web:v1
ssh me_huawei
cd /data/app/tool-ocr
git pull
#访问 https://aidutu.cn/m/
npm install
npm run serve
npm run build
Content type
Image
Digest
sha256:16e9d6308…
Size
36.5 MB
Last updated
over 2 years ago
docker pull ydlhero/ocr-web:v5