fix: install runtime node for prisma (#16410)

Prisma CLI recently started bootstrapping npm@10 inside the runtime image, which now fails with a sizeCalculation cache error on the slim Python base. Installing Debian's nodejs/npm (along with libatomic1) lets Prisma reuse the system binaries so prisma generate completes again.
This commit is contained in:
Alexsander Hamir 2025-11-08 15:48:32 -08:00 committed by GitHub
parent 202eaeb1a2
commit 454ffcd9c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -57,6 +57,9 @@ USER root
# Install only runtime dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
libssl3 \
libatomic1 \
nodejs \
npm \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app