Update NextJS to 13, node to 18

This commit is contained in:
Neshura 2022-12-14 19:34:39 +01:00
parent 69fc9f5984
commit 8a763ee72e
No known key found for this signature in database
GPG key ID: ACDF5B6EBECF6B0A
5 changed files with 1499 additions and 123 deletions

View file

@ -1,6 +1,6 @@
## INIT STEP
# Install dependencies only when needed
FROM node:16-alpine AS deps
FROM node:18-alpine AS deps
RUN apk add --no-cache libc6-compat
WORKDIR /app
@ -11,7 +11,7 @@ RUN yarn install --frozen-lockfile
## BUILD STEP
# Rebuild the source code only when needed
FROM node:16-alpine AS builder
FROM node:18-alpine AS builder
WORKDIR /app
@ -23,7 +23,7 @@ COPY . .
RUN yarn build
## RUN STEP
FROM node:16-alpine AS runner
FROM node:18-alpine AS runner
LABEL author="neshura@proton.me"
WORKDIR /usr/src/app