fix: install openssl1.1-compat for Prisma on Alpine

This commit is contained in:
sepehr 2026-01-12 00:03:15 +01:00
parent 9428631570
commit 7d3e633af9

View File

@ -4,7 +4,8 @@
FROM node:22-alpine AS base
# Install dependencies only when needed
FROM base AS deps
RUN apk add --no-cache libc6-compat openssl
# Install OpenSSL 1.1.x for Prisma compatibility
RUN apk add --no-cache libc6-compat openssl1.1-compat
WORKDIR /app
# Install dependencies based on the preferred package manager