Regenerate Prisma client for runtime OpenSSL version
This commit is contained in:
@@ -41,6 +41,9 @@ RUN cp -r /tmp/blinko/dist /app/code/dist && \
|
|||||||
# Copy public assets if they exist
|
# Copy public assets if they exist
|
||||||
RUN if [ -d /tmp/blinko/public ]; then cp -r /tmp/blinko/public /app/code/public; fi
|
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
|
# Set up initial data directory template
|
||||||
RUN mkdir -p /tmp/data/.blinko
|
RUN mkdir -p /tmp/data/.blinko
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user