diff --git a/Dockerfile b/Dockerfile index ec11cf1..1be8a55 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,6 +41,9 @@ RUN cp -r /tmp/blinko/dist /app/code/dist && \ # Copy public assets if they exist RUN if [ -d /tmp/blinko/public ]; then cp -r /tmp/blinko/public /app/code/public; fi +# 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 + # Set up initial data directory template RUN mkdir -p /tmp/data/.blinko