You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current Dockerfile produces an image that is around 1,4GB. To refactor the Dockerfile using multistages and setup the layers more efficient an image can be build that is around 50% smaller.
The text was updated successfully, but these errors were encountered:
itmagix
changed the title
Refactor Dockerfile to produce a leaner and more sustainable image
[REFACTOR] Dockerfile to produce a leaner and more sustainable image
Jul 28, 2023
itmagix
added a commit
to itmagix/EcoSonar
that referenced
this issue
Jul 28, 2023
Summary:
- Optimize dependencies installation order
- Utilize multi-stage builds
- Remove unnecessary files and packages
Details:
- Rearrange Dockerfile to install essential dependencies first, reducing
layers and image size.
- Implement multi-stage builds to create a separate build environment
and reduce the final image size.
FixesAccenture#19
The current Dockerfile produces an image that is around 1,4GB. To refactor the Dockerfile using multistages and setup the layers more efficient an image can be build that is around 50% smaller.
The text was updated successfully, but these errors were encountered: