-
Task
-
Resolution: Done
-
Blocker
-
None
-
None
When we build the ODH Dashboard frontend for the prod image that we use in RHODS, we end up with a bunch of dev dependencies polluting the output that we ship.
This output image we ship has a ton of extra overhead for the frontend, this should all be gone when the build is complete.
My suspected solution would be to build everything in the image and then rm out all of the node_modules and source code. We should likely only need to ship the `public` folder as that's all a production server needs.
We'll need to make sure any map files or additional resources are working if they are included – we don't have to change the build for prod process in the dashboard, except for what ends up in the image.
- duplicates
-
RHODS-7652 Improve image containerization
- Closed
- mentioned on