You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:internal/modules/cjs/loader:1137
throw err;
^
Error: Cannot find module '/web/bash'
at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
at Module._load (node:internal/modules/cjs/loader:975:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
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: