diff --git a/Dockerfile b/Dockerfile index 23c44a552..5b08da65f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Rebuild the source code only when needed -FROM node:18-alpine AS builder +FROM node:20-alpine AS builder RUN apk add --no-cache libc6-compat git RUN npm i -g pnpm @@ -13,7 +13,7 @@ RUN npm run build # RUN npm run build # Production image, copy all the files and run next -FROM node:18-alpine AS runner +FROM node:20-alpine AS runner WORKDIR /app ENV NODE_ENV production