fix: prisma docker libsso issue (#4717)

This commit is contained in:
Anshuman Pandey
2025-02-06 20:07:59 +05:30
committed by GitHub
parent a86c1738d1
commit 475cce8253

View File

@@ -1,4 +1,4 @@
FROM node:22-alpine AS base
FROM node:22-alpine3.20 AS base
#
## step 1: Prune monorepo
@@ -18,7 +18,8 @@ FROM node:22-alpine AS base
FROM base AS installer
# Enable corepack and prepare pnpm
RUN npm install -g pnpm@9.15.0
RUN npm install -g corepack@latest
RUN corepack enable
# Install necessary build tools and compilers
RUN apk update && apk add --no-cache g++ cmake make gcc python3 openssl-dev jq
@@ -61,6 +62,8 @@ RUN jq -r '.devDependencies.prisma' packages/database/package.json > /prisma_ver
## step 3: setup production runner
#
FROM base AS runner
RUN npm install -g corepack@latest
RUN corepack enable
RUN apk add --no-cache curl \