Files
flaskAPI/README.md
2024-10-31 17:18:36 +08:00

6 lines
381 B
Markdown

## 镜像的构建
使用自定义的构建器构建多架构镜像,并推送至阿里云个人镜像仓库
```shell
docker buildx build -t crpi-jqvcwrlyhb9wwayw.cn-beijing.personal.cr.aliyuncs.com/ourhonour/flaskapi --platform=linux/arm64,linux/amd64 . --push
```
多架构镜像的实现可参考 [利用 buildx 构建多架构镜像](https://source.stewednoodles.com/949.html)