Build using node 22

This commit is contained in:
Valentin Brandl 2024-08-17 16:37:13 +02:00
parent 6ab52c1830
commit a6359d9516
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9

View File

@ -1,4 +1,4 @@
FROM node:21-alpine AS builder
FROM node:22-alpine AS builder
WORKDIR /app
COPY package.json package-lock.json ./
@ -7,7 +7,7 @@ RUN npm ci
COPY . .
RUN npm run build
FROM node:21-alpine
FROM node:22-alpine
WORKDIR /app
RUN chown -R node:node /app
USER node:node