Repository navigation
Commit 334f76a
Fix production build (#17)
- Import AzureAISearchVectorStore from the path that exists in the
locked llamaindex version. The old path failed with "Module not
found".
- Add replicate as a direct dependency. llamaindex/next loads it at
runtime as an external, and pnpm doesn't make it resolvable from the
app otherwise.
- Install from pnpm-lock.yaml in the Dockerfile. It copied a
package-lock that doesn't exist, so the image ignored the lockfile
and resolved newer versions that don't build. pnpm 9 is needed to
read the lockfile format.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>1 parent 32c631f commit 334f76a
4 files changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments