fix: use libssl1.1 for Prisma on Alpine

This commit is contained in:
sepehr 2026-01-12 00:05:26 +01:00
parent 0b86734c77
commit aa3c741135

View File

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