From fd86a1de831bab05432a92da9d9d7d36f4d8200f Mon Sep 17 00:00:00 2001 From: Kasper Juul Hermansen Date: Thu, 20 Apr 2023 21:38:20 +0000 Subject: [PATCH] Update Node.js to v20 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 70933af..edab7b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM harbor.server.kjuulh.io/kjuulh/git-log:1681930905086 as git-log -FROM harbor.server.kjuulh.io/docker-proxy/library/node:19-alpine AS deps +FROM harbor.server.kjuulh.io/docker-proxy/library/node:20-alpine AS deps RUN apk add --no-cache libc6-compat @@ -15,7 +15,7 @@ RUN \ fi # Rebuild the source code only when needed -FROM harbor.server.kjuulh.io/docker-proxy/library/node:19-alpine AS builder +FROM harbor.server.kjuulh.io/docker-proxy/library/node:20-alpine AS builder WORKDIR /app COPY --from=deps /app/node_modules ./node_modules COPY . . @@ -26,7 +26,7 @@ RUN yarn build # Production image, copy all the files and run next -FROM harbor.server.kjuulh.io/docker-proxy/library/node:19-alpine AS runner +FROM harbor.server.kjuulh.io/docker-proxy/library/node:20-alpine AS runner RUN apk add git