diff --git a/Dockerfile b/Dockerfile index d027e11..8cb4ca9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ WORKDIR /app # Install dependencies based on the preferred package manager COPY package.json package-lock.json* ./ -RUN npm ci --only=production +RUN npm ci # Rebuild the source code only when needed FROM base AS builder @@ -28,6 +28,8 @@ RUN npm run build FROM base AS runner WORKDIR /app +RUN apk add --no-cache curl + ENV NODE_ENV=production ENV NEXT_TELEMETRY_DISABLED=1