diff --git a/docker/Dockerfile b/docker/Dockerfile index 0ce1845..319303c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,7 +1,7 @@ # ────────────────────────────────────────────── # Stage 1: install dependencies # ────────────────────────────────────────────── -FROM node:22-alpine AS deps +FROM node:24-alpine AS deps RUN apk add --no-cache libc6-compat WORKDIR /app @@ -11,7 +11,7 @@ RUN npm ci # ────────────────────────────────────────────── # Stage 2: build # ────────────────────────────────────────────── -FROM node:22-alpine AS builder +FROM node:24-alpine AS builder WORKDIR /app # sentry-cli (invoked by withSentryConfig during `npm run build` to upload @@ -56,7 +56,7 @@ RUN npm run build # ────────────────────────────────────────────── # Stage 3: production image (minimal) # ────────────────────────────────────────────── -FROM node:22-alpine AS runner +FROM node:24-alpine AS runner WORKDIR /app ENV NODE_ENV=production diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 4d2d72e..e003712 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -42,7 +42,7 @@ x-pawfeed-common: &pawfeed-common - nginx_default # Used by docker/rolling-deploy.sh to know when a replica is ready to # take traffic again before moving on to the next one. wget is the only - # HTTP client available in the node:22-alpine runner image. + # HTTP client available in the node:24-alpine runner image. healthcheck: test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000/api/health"] interval: 5s