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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: [20, 22]
node-version: [24.x]

steps:
- uses: actions/checkout@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 22
node-version: 24
registry-url: https://registry.npmjs.org

- name: Install dependencies
Expand Down
11 changes: 9 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:22-alpine AS builder
FROM node:24.5-alpine AS builder

RUN apk upgrade --no-cache zlib
RUN corepack enable pnpm
Expand All @@ -15,13 +15,20 @@ RUN mkdir /prod_modules && \
cd /prod_modules && \
pnpm install --frozen-lockfile --prod --ignore-scripts

FROM node:22-alpine
FROM node:24.5-alpine

RUN apk upgrade --no-cache zlib
RUN rm -rf /usr/local/lib/node_modules/npm \
&& rm -f /usr/local/bin/npm /usr/local/bin/npx
WORKDIR /app
ENV HUSKY=0

# Node 24.5+ natively honours HTTP_PROXY / HTTPS_PROXY / NO_PROXY for the
# built-in fetch() via the NODE_USE_ENV_PROXY flag introduced in Node 22.
# Set it here so callers can pass -e HTTPS_PROXY=... at docker run time without
# needing any third-party proxy package.
ENV NODE_USE_ENV_PROXY=1

COPY --from=builder /prod_modules/node_modules/ ./node_modules/
COPY --from=builder /app/dist/ ./dist/

Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,25 +56,26 @@
"url": "https://github.com/philrox/eurlex-mcp-server/issues"
},
"engines": {
"node": ">=20.0.0"
"node": ">=24.5.0"
},
"packageManager": "pnpm@10.30.1",
"dependencies": {
"@modelcontextprotocol/sdk": "^1.27.0",
"express": "^4.18.0",
"express-rate-limit": "^8.3.1",
"undici": "^8.2.0",
"zod": "^3.22.0"
},
"devDependencies": {
"@commitlint/cli": "^20.4.4",
"@commitlint/config-conventional": "^20.4.4",
"@eslint/js": "^10.0.1",
"@types/express": "^4.17.0",
"@types/node": "^20.0.0",
"@types/node": "^24.0.0",
"@typescript-eslint/eslint-plugin": "^8.57.0",
"@typescript-eslint/parser": "^8.57.0",
"@vitest/coverage-v8": "^2.1.9",
"esbuild": "^0.25.0",
"esbuild": "^0.25.0",
"eslint": "^10.0.3",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import-x": "^4.16.2",
Expand Down
83 changes: 46 additions & 37 deletions pnpm-lock.yaml

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

Loading
Loading