fix docker deployment

This commit is contained in:
MarconLP 2023-07-16 18:29:23 +02:00
parent f7ee0b18ca
commit bdec8fb90c
No known key found for this signature in database
GPG key ID: F4CAFFDFA3451D5E
4 changed files with 921 additions and 138 deletions

View file

@ -1,6 +1,6 @@
##### DEPENDENCIES
FROM --platform=linux/amd64 node:16-alpine3.17 AS deps
FROM --platform=linux/amd64 node:18-alpine3.17 AS deps
RUN apk add --no-cache libc6-compat openssl1.1-compat
WORKDIR /app
@ -21,7 +21,7 @@ RUN \
##### BUILDER
FROM --platform=linux/amd64 node:16-alpine3.17 AS builder
FROM --platform=linux/amd64 node:18-alpine3.17 AS builder
ARG DATABASE_URL
ARG NEXT_PUBLIC_CLIENTVAR
WORKDIR /app
@ -39,7 +39,7 @@ RUN \
##### RUNNER
FROM --platform=linux/amd64 node:16-alpine3.17 AS runner
FROM --platform=linux/amd64 node:18-alpine3.17 AS runner
WORKDIR /app
ENV NODE_ENV production

1047
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -43,7 +43,7 @@
"jotai": "^2.0.4",
"micro": "^10.0.1",
"micro-cors": "^0.1.1",
"next": "^13.3.0",
"next": "^13.4.10",
"next-auth": "^4.22.1",
"posthog-js": "^1.53.4",
"posthog-node": "^3.1.0",
@ -52,6 +52,7 @@
"react-media-recorder": "^1.6.6",
"react-popper": "^2.3.0",
"recordrtc": "^5.6.2",
"sharp": "^0.32.3",
"stripe": "^12.12.0",
"superjson": "1.12.2",
"tailwindcss-radix": "^2.8.0",

View file

@ -2,7 +2,8 @@
// learn more about it in the docs: https://pris.ly/d/prisma-schema
generator client {
provider = "prisma-client-js"
provider = "prisma-client-js"
binaryTargets = ["native", "linux-musl-openssl-3.0.x"]
}
datasource db {