chore: upgrade to Nodejs 22

This commit is contained in:
Elias Schneider
2025-01-27 09:48:20 +01:00
parent a65ce56b42
commit 8cd834a503
3 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
# Stage 1: Build Frontend
FROM node:20-alpine AS frontend-builder
FROM node:22-alpine AS frontend-builder
WORKDIR /app/frontend
COPY ./frontend/package*.json ./
RUN npm ci
@@ -20,7 +20,7 @@ WORKDIR /app/backend/cmd
RUN CGO_ENABLED=1 GOOS=linux go build -o /app/backend/pocket-id-backend .
# Stage 3: Production Image
FROM node:20-alpine
FROM node:22-alpine
# Delete default node user
RUN deluser --remove-home node