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: pipeline:
build: build:
image: node:16 image: node:22
commands: commands:
- npm ci - npm ci
- npm run build - npm run build

View file

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