File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -5,16 +5,17 @@ RUN go mod download
5
5
COPY . .
6
6
RUN make build
7
7
8
- FROM ghcr.io/astral-sh/uv:debian-slim
9
- ENV DEBIAN_FRONTEND=noninteractive \
10
- NODE_VERSION=lts.x
11
- RUN apt-get update && \
12
- apt-get install -y --no-install-recommends curl ca-certificates && \
13
- curl -fsSL --fail https://deb.nodesource.com/setup_${NODE_VERSION} | bash - && \
14
- apt-get update && \
15
- apt-get install -y --no-install-recommends nodejs && \
16
- apt-get clean && \
17
- rm -rf /var/lib/apt/lists/*
8
+ FROM node:lts-bookworm-slim AS node
9
+
10
+ FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim
11
+
12
+ COPY --from=node /usr/local/bin/node /usr/local/bin/node
13
+ # COPY --from=node /usr/local/include/node /usr/local/include/node
14
+ COPY --from=node /usr/local/lib/node_modules /usr/local/lib/node_modules
15
+ RUN ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm && \
16
+ ln -s /usr/local/lib/node_modules/npm/bin/npx-cli.js /usr/local/bin/npx && \
17
+ ln -s /usr/local/bin/node /usr/local/bin/nodejs
18
+
18
19
COPY --from=builder /app/build/mcp-proxy /main
19
20
ENTRYPOINT ["/main" ]
20
21
CMD ["--config" , "/config/config.json" ]
You can’t perform that action at this time.
0 commit comments