mirror of
https://github.com/skooner-k8s/skooner.git
synced 2026-02-14 17:49:55 +00:00
run the pipeline using node 20
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Stage 1 - the build react app
|
||||
FROM node:12.22.10-alpine as build-deps
|
||||
FROM node:20.1.1 as build-deps
|
||||
WORKDIR /usr/src/app
|
||||
COPY client/package.json client/package-lock.json ./
|
||||
RUN npm i
|
||||
@@ -8,7 +8,7 @@ COPY client/ ./
|
||||
RUN npm run build
|
||||
|
||||
# Stage 2 - the production environment
|
||||
FROM node:12.22.10-alpine
|
||||
FROM node:20.1.1
|
||||
|
||||
RUN apk add --no-cache tini
|
||||
ENV NODE_ENV production
|
||||
|
||||
Reference in New Issue
Block a user