chore(docker): bump node 20 → 22
Silences oidc-provider's "Unsupported runtime" warning on every boot.
This commit is contained in:
parent
a2a8d945c6
commit
1083a1d260
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
# Build stage
|
# Build stage
|
||||||
FROM node:20-alpine AS builder
|
FROM node:22-alpine AS builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
|
@ -10,7 +10,7 @@ RUN npm run build
|
||||||
# Production stage — only the self-contained .output is needed.
|
# Production stage — only the self-contained .output is needed.
|
||||||
# bash + curl are added so Dokploy scheduled tasks (which wrap commands in
|
# 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.
|
# `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
|
RUN apk add --no-cache bash curl
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=builder /app/.output .output
|
COPY --from=builder /app/.output .output
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue