This commit is contained in:
Eelke van den Bos 2025-12-15 22:08:53 +11:00 committed by GitHub
commit 445f015ca8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View file

@ -14,6 +14,10 @@ ENV LD_PRELOAD=/usr/lib/libjemalloc.so.2
COPY --from=ghcr.io/astral-sh/uv:0.6.13 /uv /uvx /bin/
RUN uv --version
# Add `deno` for better MCP isolation
RUN apk add --no-cache deno
RUN deno --version
RUN mkdir -p /app && chown node:node /app
WORKDIR /app

View file

@ -67,6 +67,9 @@ FROM base-min AS api-build
# Add `uv` for extended MCP support
COPY --from=ghcr.io/astral-sh/uv:0.6.13 /uv /uvx /bin/
RUN uv --version
# Add `deno` for better MCP isolation
RUN apk add --no-cache deno
RUN deno --version
WORKDIR /app
# Install only production deps
RUN npm ci --omit=dev
@ -79,4 +82,4 @@ COPY --from=client-build /app/client/dist ./client/dist
WORKDIR /app/api
EXPOSE 3080
ENV HOST=0.0.0.0
CMD ["node", "server/index.js"]
CMD ["node", "server/index.js"]