Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker镜像实在是太臃肿了 #466

Open
csthenry opened this issue Aug 24, 2023 · 2 comments
Open

docker镜像实在是太臃肿了 #466

csthenry opened this issue Aug 24, 2023 · 2 comments

Comments

@csthenry
Copy link

csthenry commented Aug 24, 2023

docker镜像实在是太臃肿了,全部是基于blackholll/loonflow-base镜像,不管前端后端都跑了一个centos7,大小各高达几个GB,完全可以将前后端镜像分离,前端镜像基于nginx(前端在本地build然后仅将dist文件夹做镜像),后端基于python即可

@blackholll
Copy link
Owner

有道理。 3.0(已经在开发中)考虑优化下。 不过当前也只有1G, python image也几百兆了。 前端基于nginx 然后把编译后的文件拷贝过来 应该效果会比较明显。

@csthenry
Copy link
Author

好的,期待3.0~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants