Skip to content
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

[Bug] Docker install failed #99

Open
2 tasks
s3219521aa opened this issue Jul 16, 2024 · 0 comments
Open
2 tasks

[Bug] Docker install failed #99

s3219521aa opened this issue Jul 16, 2024 · 0 comments

Comments

@s3219521aa
Copy link

Describe the bug
run docker build -t chat-llamaindex . failed

Deployment

  • [X ] Docker
  • Vercel
  • Server

Desktop (please complete the following information):
win 11

Additional Logs

=> ERROR [build 9/9] RUN pnpm build 31.0s

[build 9/9] RUN pnpm build:
1.110
1.110 > chat-llamaindex@ build /usr/src/app
1.110 > npm run create-llama && next build
1.110
1.303
1.303 > create-llama
1.303 > bash create-llama.sh
1.303
1.316
1.316 Adding sources from create-llama...
18.83 npm warn skipping integrity check for git dependency ssh://[email protected]/watson/ci-info.git
30.77 node:internal/modules/cjs/loader:1143
30.77 throw err;
30.77 ^
30.77
30.77 Error: Cannot find module '/usr/src/app/node_modules/next/dist/bin/next'
30.77 at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
30.77 at Module._load (node:internal/modules/cjs/loader:981:27)
30.77 at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
30.77 at node:internal/main/run_main_module:28:49 {
30.77 code: 'MODULE_NOT_FOUND',
30.77 requireStack: []
30.77 }
30.77
30.77 Node.js v18.20.4
30.79  ELIFECYCLE  Command failed with exit code 1.


Dockerfile:27

25 |
26 | # Build the application for production
27 | >>> RUN pnpm build
28 |
29 | # ---- Production Stage ----

ERROR: failed to solve: process "/bin/sh -c pnpm build" did not complete successfully: exit code: 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant