添加 README 文件

This commit is contained in:
2024-10-31 17:18:36 +08:00
parent 1c13043083
commit e435e2dfde
2 changed files with 23 additions and 11 deletions

28
.idea/workspace.xml generated
View File

@@ -4,16 +4,9 @@
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="c69c4d37-6f84-4453-8bc1-0b4bae08d1f5" name="Changes" comment="">
<change afterPath="$PROJECT_DIR$/.idea/flaskAPI.iml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/inspectionProfiles/profiles_settings.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/modules.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/vcs.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/Dockerfile" afterDir="false" />
<change afterPath="$PROJECT_DIR$/app.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/requirements.txt" afterDir="false" />
<list default="true" id="c69c4d37-6f84-4453-8bc1-0b4bae08d1f5" name="Changes" comment="项目文件">
<change afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -109,13 +102,26 @@
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1730282372795</updated>
<workItem from="1730282380540" duration="7266000" />
<workItem from="1730282380540" duration="14019000" />
</task>
<task id="LOCAL-00001" summary="项目文件">
<option name="closed" value="true" />
<created>1730337908208</created>
<option name="number" value="00001" />
<option name="presentableId" value="LOCAL-00001" />
<option name="project" value="LOCAL" />
<updated>1730337908208</updated>
</task>
<option name="localTasksCounter" value="2" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="3" />
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="项目文件" />
<option name="LAST_COMMIT_MESSAGE" value="项目文件" />
</component>
<component name="XDebuggerManager">
<breakpoint-manager>
<breakpoints>

6
README.md Normal file
View File

@@ -0,0 +1,6 @@
## 镜像的构建
使用自定义的构建器构建多架构镜像,并推送至阿里云个人镜像仓库
```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)