1
0
Fork 1
mirror of https://example.com synced 2024-11-22 12:26:38 +09:00

dev: use node:21-slim for base Docker image

This commit is contained in:
naskya 2023-11-18 19:38:20 +09:00
parent 70558f1aa9
commit d01b716182
Signed by: naskya
GPG key ID: 164DFF24E2D40139

View file

@ -1,5 +1,5 @@
## Install dev and compilation dependencies, build files ## Install dev and compilation dependencies, build files
FROM node:20 as build FROM node:21-slim as build
WORKDIR /firefish WORKDIR /firefish
# Install compilation dependencies # 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 RUN pnpm install --prod --frozen-lockfile
## Runtime container ## Runtime container
FROM node:20 FROM node:21-slim
WORKDIR /firefish WORKDIR /firefish
# Install runtime dependencies # Install runtime dependencies