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

[Chore]: 优化 Dockerfile 缩小镜像体积 #452

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

BennettChina
Copy link

@BennettChina BennettChina commented Nov 29, 2024

改动原因:镜像包太大,需要下载的时间长,下载后的完整体积在1.5G左右

改动内容:Dockerfile.dockerignore

改动验证:编译镜像后成功运行,运行情况与 npm 启动一样,优化后的镜像体积在550M左右。

使用时发现问卷等无法正常使用,但经过验证并非本次改动导致,以 npm 启动的服务有同样的问题。

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

Successfully merging this pull request may close these issues.

1 participant