🧑‍💻 Update to node 20 and add .nvmrc file (#1169)

This commit is contained in:
Luke Vella 2024-06-20 08:55:41 +01:00 committed by GitHub
parent 1bda96cf55
commit 3758daf301
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 5 deletions

View file

@ -1,11 +1,11 @@
FROM node:18 AS builder
FROM node:20 AS builder
WORKDIR /app
RUN yarn global add turbo
COPY . .
RUN turbo prune --scope=@rallly/web --docker
FROM node:18 AS installer
FROM node:20 AS installer
WORKDIR /app
COPY .gitignore .gitignore
@ -26,7 +26,7 @@ ENV NEXT_PUBLIC_SELF_HOSTED=$SELF_HOSTED
RUN yarn build
FROM node:18 AS runner
FROM node:20 AS runner
WORKDIR /app