Skip to content

[Refactor] Improve build of container images#424

Merged
sindre-nistad merged 4 commits intomainfrom
refactor/improve-build-of-container-images
Mar 4, 2026
Merged

[Refactor] Improve build of container images#424
sindre-nistad merged 4 commits intomainfrom
refactor/improve-build-of-container-images

Conversation

@sindre-nistad
Copy link
Contributor

Why is this pull request needed?

Replaces #271 and improves the size of the containers, build time, and reduces the attack surface

Issues related to this change:

Closes #271.

This introduces Docker Hardened Images for the web server, and the node dev-server to reduce the attack surface

Signed-off-by: Sindre Nistad <snis@equinor.com>
That way, we can copy over `uv` where necessary without having to be the container on it

Signed-off-by: Sindre Nistad <snis@equinor.com>
Signed-off-by: Sindre Nistad <snis@equinor.com>
All communication is supposed to go through the `/api/` endpoint on NginX, so we don't need to expose the port it is running on.
Additionally, port 5000 is often used on macOS for AirDrop, and can cause problems when binding to it

Signed-off-by: Sindre Nistad <snis@equinor.com>
Copy link
Contributor

@gunhileb gunhileb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! 💯

@sindre-nistad sindre-nistad merged commit 7158a02 into main Mar 4, 2026
11 checks passed
@sindre-nistad sindre-nistad deleted the refactor/improve-build-of-container-images branch March 4, 2026 13:22
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