-
Notifications
You must be signed in to change notification settings - Fork 0
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
Docker-Compose Deployment, #588 #388
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Restart Policy
- Create-App: Delete .docker-compose folder
- maybe systemctl file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minimal images
I've decided that "maybe systemctl file" is out of scope for this PR. So from my point of view it is ready for review. |
34c429b
I've updated to Node 22 und fixed the builds for admin and site (as they rely on git) with 34c429b |
@@ -0,0 +1,15 @@ | |||
FROM registry.access.redhat.com/ubi9/nodejs-22:latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whats the reason for not using minimal image everywhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The build process requires git. Instead of installing it manually, I decided to use the "regular" image.
admin/Dockerfile
Outdated
npm run build && \ | ||
rm -rf ./node_modules | ||
|
||
CMD "npm" "run" "serve" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
running node directly here would use less memory
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,16 @@ | |||
FROM registry.access.redhat.com/ubi9/nodejs-22:latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above api uses minimal why not here to?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see #388
56634ea
#588
Open TODOs/questions