fix(docker): use node:24 base image to match engines range

Dockerfile was pinned to node:26.2.0-trixie-slim, which is outside the
project's engines range (>=20.20.2 <21 || >=22.22.2 <23 || >=24 <25).
keytar 7.9.0 / node-gyp could not compile against the Node 26 ABI,
breaking every Docker build of v3.8.3 and leaving :latest stale.
This commit is contained in:
diegosouzapw
2026-05-25 21:40:57 -03:00
parent 7a93303375
commit f1d35915ff

View File

@@ -1,4 +1,4 @@
FROM node:26.2.0-trixie-slim AS builder
FROM node:24-trixie-slim AS builder
WORKDIR /app
RUN apt-get update \
@@ -19,7 +19,7 @@ RUN if [ -f package-lock.json ]; then \
COPY . ./
RUN mkdir -p /app/data && npm run build -- --webpack
FROM node:26.2.0-trixie-slim AS runner-base
FROM node:24-trixie-slim AS runner-base
WORKDIR /app
LABEL org.opencontainers.image.title="omniroute" \