Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/App/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Multi-stage Dockerfile for React frontend with Python backend support using UV

# Stage 1: Node build environment for React
FROM node:20-alpine AS frontend-builder
FROM node:24-alpine AS frontend-builder

WORKDIR /app/frontend

Expand Down Expand Up @@ -52,8 +52,9 @@ ENV NODE_ENV=production \
PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1

# Install curl for healthcheck
# Apply OS security patches (e.g. libbrotli1) and install curl for healthcheck
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y --no-install-recommends curl && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
Expand Down
18 changes: 9 additions & 9 deletions src/App/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/App/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/node": "^16.18.126",
"@types/node": "^24.0.0",
"@types/react": "^18.3.23",
"@types/react-dom": "^18.3.7",
"react": "^18.3.1",
Expand Down Expand Up @@ -57,7 +57,7 @@
]
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/node": "^24.0.0",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@vitejs/plugin-react": "^4.5.1",
Expand Down
4 changes: 2 additions & 2 deletions src/mcp_server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ RUN uv sync --frozen --no-dev
# Final stage
FROM base

# Install curl for healthcheck
RUN apt-get update && apt-get install -y --no-install-recommends curl && rm -rf /var/lib/apt/lists/*
# Apply OS security patches (e.g. libbrotli1) and install curl for healthcheck
RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends curl && rm -rf /var/lib/apt/lists/*

WORKDIR /app
COPY --from=builder /app /app
Expand Down
Loading