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

feat (docker): onnx model and font embedded #276

Merged
merged 9 commits into from
Dec 18, 2024
Merged

Conversation

awwaawwa
Copy link
Contributor

#247 1&3,然后顺便压缩了一下docker镜像大小

@hellofinch
Copy link
Contributor

路径动了会不会影响pip包呀?

@awwaawwa
Copy link
Contributor Author

awwaawwa commented Dec 18, 2024

如果'/app/GoNotoKurrent-Regular.ttf'没找到的话,会fallback到原来的方案,如下图所示:

CleanShot 2024-12-18 at 20 04 48@2x

@awwaawwa
Copy link
Contributor Author

镜像各层大小如下图所示,基本都是各种依赖占地方了。
CleanShot 2024-12-18 at 20 31 52@2x

@Issues-translate-bot
Copy link

The issue has been automatically translated into English.


The size of each layer of the image is shown in the figure below. Basically, various dependencies take up space.
CleanShot 2024-12-18 at 20 31 52@2x

@reycn reycn changed the title 将onnx模型和字体打包进docker镜像 feat (docker): onnx model and font embedded Dec 18, 2024
@Byaidu Byaidu merged commit 8a20102 into Byaidu:main Dec 18, 2024
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.

4 participants