From e17bd61579044c6d33dce76b01f3f30a00cadcd2 Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Thu, 20 Oct 2022 22:11:04 +0200 Subject: [PATCH] Use LTS node --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1cf6d4d..2107c1e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # From https://nextjs.org/docs/deployment # Rebuild the source code only when needed -FROM node:alpine AS builder +FROM node:lts-alpine AS builder RUN apk add --no-cache libc6-compat WORKDIR /app COPY package.json package-lock.json ./ @@ -11,7 +11,7 @@ ENV NEXT_TELEMETRY_DISABLED 1 RUN npm run build # Production image, copy all the files and run next -FROM node:alpine AS runner +FROM node:lts-alpine AS runner WORKDIR /app ENV NODE_ENV production