-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat: small room optimisation of the apps/api Dockerfile image #355
base: main
Are you sure you want to change the base?
feat: small room optimisation of the apps/api Dockerfile image #355
Conversation
@Sanix-Darker feel free to assign me for reviewing when it's done! |
@rafaelsideguide it's ready to be reviewed... i don't have right to assign you... |
|
||
FROM base | ||
RUN apt-get update -qq && \ | ||
apt-get install --no-install-recommends -y chromium chromium-sandbox && \ |
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.
@nickscamara do we need chromium-sandbox?
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.
I don't think so.
Is there any other actions I need to make for this PR please ? @nickscamara |
@Sanix-Darker will look into it! |
Hey @Sanix-Darker, I encountered some errors while testing this PR. Here are the logs: 2024-08-12 18:08:59 node:internal/modules/cjs/loader:1148
2024-08-12 18:08:59 throw err;
2024-08-12 18:08:59 ^
2024-08-12 18:08:59
2024-08-12 18:08:59 Error: Cannot find module '/app/pnpm'
2024-08-12 18:08:59 at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
2024-08-12 18:08:59 at Module._load (node:internal/modules/cjs/loader:986:27)
2024-08-12 18:08:59 at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
2024-08-12 18:08:59 at node:internal/main/run_main_module:28:49 {
2024-08-12 18:08:59 code: 'MODULE_NOT_FOUND',
2024-08-12 18:08:59 requireStack: []
2024-08-12 18:08:59 }
2024-08-12 18:08:59
2024-08-12 18:08:59 Node.js v20.16.0 I also wasn't able to test it on our staging environment. Could you help figure out how to fix this? |
BEFORE & AFTER
0.45GB of difference.