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): Use Alpine image for smaller size #761

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

DeepChirp
Copy link
Contributor

使用lts-alpine能够减小构建出的image体积(本地测试从325MB缩小为了264MB,约60MB)。经过简单的测试,评论、邮件通知、实时通知、导入导出功能均正常。

同时修复了构建镜像时的警告"ENV key=value" should be used instead of legacy "ENV key value" format

@imaegoo imaegoo merged commit 76a6b3f into twikoojs:main Oct 17, 2024
1 check passed
@imaegoo
Copy link
Member

imaegoo commented Oct 17, 2024

感谢贡献

@DeepChirp DeepChirp deleted the docker branch October 17, 2024 05:21
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.

2 participants