rollback node to v20 lts
This commit is contained in:
parent
b8ce008d9e
commit
83bf892997
1 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
# Build Stage
|
||||
FROM node:22.17.1-alpine AS build-stage
|
||||
FROM node:20.19.4-alpine AS build-stage
|
||||
|
||||
# Create app directory
|
||||
WORKDIR /app
|
||||
|
|
@ -14,9 +14,9 @@ COPY . .
|
|||
RUN npm run build
|
||||
|
||||
# Production Stage
|
||||
FROM node:22.17.1-alpine
|
||||
FROM node:20.19.4-alpine
|
||||
|
||||
ENV NODE_ENV production
|
||||
ENV NODE_ENV=production
|
||||
USER node
|
||||
|
||||
# Create app directory
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue