diff --git a/Dockerfile b/Dockerfile index b741c33..c2b3477 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # 1. Install dependencies and build the project -FROM alpine:latest AS builder +FROM node:20-alpine AS builder # Install node and yarn RUN apk add --no-cache nodejs npm @@ -20,7 +20,7 @@ RUN yarn build ENV NEXT_TELEMETRY_DISABLED=1 # 2. Production stage: use a minimal base image -FROM alpine:latest AS runner +FROM node:20-alpine AS runner WORKDIR /app # Set the environment variable for standalone output directory