Update Node version image to 22

This commit is contained in:
Murtadha 2024-07-12 00:36:02 -04:00
parent 2497bccddf
commit f0b4326fd9
2 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,6 @@
pipeline:
build:
image: node:16
image: node:22
commands:
- npm ci
- npm run build

View file

@ -1,6 +1,8 @@
FROM node:22 as build
WORKDIR /app
COPY package*.json ./
RUN npm install -g npm@10.8.2
COPY package.json ./
COPY package-lock.json ./
RUN npm install
COPY . .
RUN npm run build