mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-26 09:52:11 +03:00
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:
@@ -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" \
|
||||
|
||||
Reference in New Issue
Block a user