Repository navigation
Commit f5eeb83
fix(everything): build the Docker image from the workspace lockfile, with a Streamable HTTP mode
The Dockerfile copied src/everything alone and ran a lockfile-less
npm install, so the image ignored the root package-lock.json and the
overrides that pin transitive dependencies, and `--omit-dev` was not an
npm flag. Its CMD also took the whole command, so `docker run
mcp/everything streamableHttp` failed with "Cannot find module
'/app/streamableHttp'".
Build from the repository root with npm ci against the workspace
lockfile, keep the context to what the build reads with a
Dockerfile.dockerignore, run as the node user, expose PORT 3001, stop on
SIGINT, and split ENTRYPOINT from a `stdio` CMD so the transport name is
the run argument. Document building and running both modes in the README.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: cliffhall <[email protected]>1 parent 446be48 commit f5eeb83
3 files changed
Lines changed: 94 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
1 | 20 | | |
2 | 21 | | |
3 | | - | |
4 | | - | |
| 22 | + | |
5 | 23 | | |
6 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
7 | 27 | | |
8 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
9 | 32 | | |
10 | | - | |
| 33 | + | |
| 34 | + | |
11 | 35 | | |
12 | | - | |
13 | 36 | | |
14 | | - | |
15 | | - | |
16 | | - | |
| 37 | + | |
17 | 38 | | |
18 | 39 | | |
19 | 40 | | |
20 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
21 | 62 | | |
22 | | - | |
| 63 | + | |
| 64 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
170 | 196 | | |
171 | 197 | | |
172 | 198 | | |
0 commit comments