From e5e169ac0bab377d40a0fb5f2d24d321a30f1ab9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 26 Mar 2023 21:52:31 +0900 Subject: [PATCH] chore(deps): update node.js to v19 (#34) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8dde3d8a..480b33a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # https://github.com/vercel/next.js/blob/canary/examples/with-docker/Dockerfile # Install dependencies only when needed -FROM node:17-alpine AS deps +FROM node:19-alpine AS deps # Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. RUN apk add --no-cache libc6-compat WORKDIR /app @@ -13,7 +13,7 @@ RUN yarn global add pnpm && pnpm i # Rebuild the source code only when needed -FROM node:17-bullseye-slim AS builder +FROM node:19-bullseye-slim AS builder WORKDIR /app COPY --from=deps /app/node_modules ./node_modules COPY . . @@ -32,7 +32,7 @@ RUN yarn global add pnpm && pnpm run build # RUN npm run build # Production image, copy all the files and run next -FROM node:17-alpine AS runner +FROM node:19-alpine AS runner WORKDIR /app ENV NODE_ENV production