fix deockerfile openssl

This commit is contained in:
biersoeckli
2024-12-12 13:51:56 +00:00
parent 9cdf80ad50
commit 6e4d9d95d4
2 changed files with 3 additions and 2 deletions

View File

@@ -1,9 +1,11 @@
FROM node:18-alpine AS base
RUN apk add --no-cache openssl
# Install dependencies only when needed
FROM base AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
RUN apk add --no-cache libc6-compat openssl
WORKDIR /app
# Install dependencies based on the preferred package manager

View File

@@ -6,7 +6,6 @@
generator client {
provider = "prisma-client-js"
engineType = "binary"
}
generator zod {