diff --git a/Dockerfile b/Dockerfile index d5b913a..8594917 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM node:18-alpine AS deps +FROM node:21-alpine AS deps RUN apk add --no-cache libc6-compat WORKDIR /app COPY package.json package-lock.json ./ RUN npm install --production -FROM node:18-alpine AS builder +FROM node:21-alpine AS builder WORKDIR /app COPY --from=deps /app/node_modules ./node_modules COPY . . @@ -14,7 +14,7 @@ ENV NEXT_TELEMETRY_DISABLED 1 RUN npm run build -FROM node:18-alpine AS runner +FROM node:21-alpine AS runner RUN apk add --no-cache git WORKDIR /app