From d0943010756419025f55f33f232447cc98750ab2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20D=C3=BCren?= Date: Mon, 29 Dec 2025 17:21:17 -0600 Subject: [PATCH] Copy Prisma engine to bundled code locations --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 1be8a55..3fa97a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,6 +44,10 @@ RUN if [ -d /tmp/blinko/public ]; then cp -r /tmp/blinko/public /app/code/public # Regenerate Prisma client for the runtime environment (cloudron base uses OpenSSL 3.0) RUN cd /app/code && npx prisma generate --schema=/app/code/prisma/schema.prisma +# Copy Prisma engine to locations where the bundled code expects it +RUN cp /app/code/node_modules/.prisma/client/*.node /app/code/dist/ 2>/dev/null || true +RUN cp /app/code/node_modules/.prisma/client/*.node /app/code/node_modules/@prisma/client/ 2>/dev/null || true + # Set up initial data directory template RUN mkdir -p /tmp/data/.blinko