Update Node version image to 22
This commit is contained in:
parent
2497bccddf
commit
f0b4326fd9
2 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue