chore(docker): bump node 20 → 22

Silences oidc-provider's "Unsupported runtime" warning on every boot.
This commit is contained in:
Jennie Robinson Faber 2026-04-26 14:46:55 +01:00
parent a2a8d945c6
commit 1083a1d260

View file

@ -1,5 +1,5 @@
# Build stage
FROM node:20-alpine AS builder
FROM node:22-alpine AS builder
WORKDIR /app
COPY package*.json ./
@ -10,7 +10,7 @@ RUN npm run build
# Production stage — only the self-contained .output is needed.
# bash + curl are added so Dokploy scheduled tasks (which wrap commands in
# `bash -c "..."`) can run; alpine ships only ash and has no curl by default.
FROM node:20-alpine
FROM node:22-alpine
RUN apk add --no-cache bash curl
WORKDIR /app
COPY --from=builder /app/.output .output