-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Dockerfile FROM node:18-alpine as nodebuilder error #2005
Comments
Not sure if it's a typo but you are missing the dash before 'it'. It should be |
Sorry, I missed a '-'. |
Sorry it didn't occur to me sooner. The entrypoint tries to see if the first argument is an executable. If it isn't it assumes it's a node script. Alpine doesn't have |
Environment
Expected Behavior
When I use FROM node:18-alpine in my Dockerfile, and after completion, when I run the docker run -it command, I encounter the error: 'Error: Cannot find module '/web/bash'.
error:
Node.js v18.19.0
Current Behavior
Possible Solution
Steps to Reproduce
1)docker build -f Dockerfile -t vesoft/nebula-studio:test1 .
2)docker run -it vesoft/nebula-studio:test1 bash
Dockerfile content:
Additional Information
The text was updated successfully, but these errors were encountered: