fix: update node version
Build And Push Image / docker (push) Failing after 2m39s
Details
Build And Push Image / docker (push) Failing after 2m39s
Details
This commit is contained in:
parent
c59ace8fc3
commit
5e2544be6d
|
|
@ -1,4 +1,4 @@
|
|||
ARG NODE_VERSION=20.10.0
|
||||
ARG NODE_VERSION=22.12.0
|
||||
ARG PORT=6060
|
||||
|
||||
FROM node:${NODE_VERSION}-slim as base
|
||||
|
|
@ -9,7 +9,7 @@ WORKDIR /app
|
|||
FROM base as build
|
||||
COPY package.json .
|
||||
COPY package-lock.json .
|
||||
RUN npm ci --production=false
|
||||
RUN npm install --production=false
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
RUN npm prune
|
||||
|
|
|
|||
Loading…
Reference in New Issue