-
Notifications
You must be signed in to change notification settings - Fork 112
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 tweaks and node update #2911
base: main
Are you sure you want to change the base?
Conversation
New Issues
Fixed Issues
|
1dd7793
to
6b449c7
Compare
Establishing/using a non-root user has proven to be a P.I.T.A. so I abandon that part. This image is only meant for local testing so should be less of an issue. |
Thanks! Testing this on my Mac right now... |
Works for me 😁 |
I suspect it's because of a more complete build with the changes. They've likely been there for a while. Edit: In fact if you go back to main and build again you'll have a comparison point. |
Dockerfile
Outdated
COPY package-lock.json package.json /app/ | ||
# Create app directory |
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.
Most of these changes are unnecessary and comments are redundant.
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 can drop the comments.
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 COPY of line 9 should be reverted too. I'd also suggest reverting the package lock changes.
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 doesn't succeed without the dependency updates.
65dee93
to
3fc336d
Compare
Hopefully that looks better? |
3fc336d
to
552e9dd
Compare
COPY .babelrc \ | ||
.eslintrc.yml \ | ||
.nvmrc \ | ||
postcss.config.js \ | ||
webpack.common.js \ | ||
webpack.dev.js \ | ||
COPY .babelrc \ | ||
.eslintrc.yml \ | ||
.nvmrc \ | ||
postcss.config.js \ | ||
webpack.common.js \ | ||
webpack.dev.js \ |
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 file seems to have had mixed line endings (or something)
552e9dd
to
af1a696
Compare
Signed-off-by: kingthorin <kingthorin@users.noreply.github.com> Node 22 everywhere Signed-off-by: kingthorin <kingthorin@users.noreply.github.com>
af1a696
to
66e4e69
Compare
Tested successfully on a Kali VM.