Build using node 22
This commit is contained in:
parent
6ab52c1830
commit
a6359d9516
@ -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
|
||||
|
Reference in New Issue
Block a user