Update Node.js to v20
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Kasper Juul Hermansen 2023-04-20 21:38:20 +00:00
parent 25c8deeedb
commit fd86a1de83

View File

@ -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