From d01b71618237268a356c5316f0b7e2f26fc216da Mon Sep 17 00:00:00 2001 From: naskya Date: Sat, 18 Nov 2023 19:38:20 +0900 Subject: [PATCH] dev: use node:21-slim for base Docker image --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4658aef7b..dae340675 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ## Install dev and compilation dependencies, build files -FROM node:20 as build +FROM node:21-slim as build WORKDIR /firefish # Install compilation dependencies @@ -55,7 +55,7 @@ RUN env NODE_ENV=production sh -c "pnpm run --filter '!native-utils' build && pn RUN pnpm install --prod --frozen-lockfile ## Runtime container -FROM node:20 +FROM node:21-slim WORKDIR /firefish # Install runtime dependencies