Merge branch 'fix/set-node-version-in-dockerfile' into 'develop'

fix: Use node 20.5 in Dockerfile

Co-authored-by: Minneyar <minneyar@fuzzyfox.social>

Closes #10730

See merge request firefish/firefish!10592
This commit is contained in:
Kainoa Kanter 2023-09-08 03:24:14 +00:00
commit 91590b2e52

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.5 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.5
WORKDIR /firefish WORKDIR /firefish
# Install runtime dependencies # Install runtime dependencies