Update Dockerfile to use node:20

This commit is contained in:
naskya 2023-10-25 16:44:56 +00:00
parent 63388bad9e
commit 6f30da1454

View File

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