mirror of
https://example.com
synced 2024-11-22 06:56:38 +09:00
fix: use node:20 in Dockerfile
This commit is contained in:
parent
784e93f6d0
commit
d0d5f42484
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
## Install dev and compilation dependencies, build files
|
||||
FROM node:latest as build
|
||||
FROM node:20 as build
|
||||
WORKDIR /firefish
|
||||
|
||||
# Install compilation dependencies
|
||||
|
@ -48,7 +48,7 @@ RUN env NODE_ENV=production sh -c "pnpm run --filter '!native-utils' build && pn
|
|||
RUN pnpm i --prod --frozen-lockfile
|
||||
|
||||
## Runtime container
|
||||
FROM node:latest
|
||||
FROM node:20
|
||||
WORKDIR /firefish
|
||||
|
||||
# Install runtime dependencies
|
||||
|
|
Loading…
Reference in a new issue