Commit 5819338
authored
Optimize Docker Image Size by Cleaning Nix Store (#2486)
## Summary
This MR modifies the Dockerfile to reduce the final image size by
optimizing the Nix store after installing packages. Added `nix-store
--gc` and `nix-store --optimise` commands to clean up and optimize the
Nix store after package installation.
## How was it tested?
Built the Docker image locally and verified the image size reduction.
Confirmed that the application runs as expected after the changes.1 parent dc50eb5 commit 5819338
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments