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

🐋 refactor: Reduce Dockerfile.multi container size #5066

Merged
merged 2 commits into from
Dec 23, 2024

Conversation

alex-torregrosa
Copy link
Contributor

Summary

Reduced container size from 1.46 GB to 1.12 GB.

  • Use npm ci without devDependencies for final image
  • Remove unneeded npm prune commands

Change Type

Please delete any irrelevant options.

  • Bug fix (non-breaking change which fixes an issue)

Testing

Built container again and tested a simple setup.

Checklist

Please delete any irrelevant options.

  • My code adheres to this project's style guidelines
  • I have performed a self-review of my own code
  • I have commented in any complex areas of my code
  • My changes do not introduce new warnings

alex-torregrosa and others added 2 commits December 21, 2024 13:16
Reduced container size from 1.46 GB to 1.12 GB.

* Use `npm ci` without devDependencies for final image
* Remove unneeded `npm prune commands`
@danny-avila danny-avila changed the title fix: Reduce Dockerfile.multi container size 🐋 refactor: Reduce Dockerfile.multi container size Dec 23, 2024
@danny-avila danny-avila merged commit 04923dd into danny-avila:main Dec 23, 2024
owengo pushed a commit to openwengo/LibreChat that referenced this pull request Jan 21, 2025
* fix: Reduce Dockerfile.multi container size

Reduced container size from 1.46 GB to 1.12 GB.

* Use `npm ci` without devDependencies for final image
* Remove unneeded `npm prune commands`

* Update Dockerfile.multi

---------

Co-authored-by: Danny Avila <danacordially@gmail.com>
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