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] (apps/api) Optimize Docker Images #356

Open
Sanix-Darker opened this issue Jul 3, 2024 · 2 comments
Open

[Feat] (apps/api) Optimize Docker Images #356

Sanix-Darker opened this issue Jul 3, 2024 · 2 comments

Comments

@Sanix-Darker
Copy link
Contributor

Problem Description
I think there is some paths to optimize the size of our docker images in this repo

Proposed Feature

  • For apps/api/Dockerfile, i succeeded to low down the image (0.45G).

Implementation Suggestions

  • Cleaning the cache
  • Using the node.20-slim as prod-image instead of the base image (however i don't know if there was a purpose of setting it to in the first place base ? Maybe for debugging ?)

For more details, you can check this draft : #355

@rafaelsideguide
Copy link
Collaborator

@Sanix-Darker feel free to assign me for reviewing when it's done!

@rafaelsideguide rafaelsideguide removed their assignment Jul 5, 2024
@Sanix-Darker
Copy link
Contributor Author

Sure @rafaelsideguide

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

No branches or pull requests

3 participants