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:
parent
70558f1aa9
commit
d01b716182
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue