分阶段构建Docker镜像,精简生成镜像体积 (#1752) (#1764)

* 🚀 更新Dockerfile (#1752)

* 🙈 忽略文件夹

* 👷 更新 Dockerfile

---------

Co-authored-by: fanyinrumeng <42991257+fanyinrumeng@users.noreply.github.com>
This commit is contained in:
BalconyJH
2024-12-13 02:07:29 +08:00
committed by GitHub
co-authored by fanyinrumeng
parent 9afb9d343b
commit b6964a92fa
2 changed files with 61 additions and 17 deletions
+6 -1
View File
@@ -1,7 +1,11 @@
.devcontainer/
.github/
.vscode/
assets/
.idea/
.pytest_cache/
.ruff_cache/
.venv/
docs_image/
k8s/
tests/
.dockerignore
@@ -9,6 +13,7 @@ tests/
.gitignore
.pre-commit-config.yaml
.prettier*
.env.dev
docker-compose.yml
Dockerfile
LICENSE