mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Include prisma engine in Docker image
This commit is contained in:
parent
1852acc333
commit
46388f8b41
1 changed files with 1 additions and 4 deletions
|
|
@ -42,10 +42,7 @@ RUN set -x \
|
|||
&& apk add --no-cache curl
|
||||
|
||||
# Script dependencies
|
||||
RUN pnpm add npm-run-all dotenv chalk semver prisma@6.18.0 @prisma/adapter-pg@6.18.0
|
||||
|
||||
# Permissions for prisma
|
||||
RUN chown -R nextjs:nodejs node_modules/.pnpm/
|
||||
RUN pnpm --allow-build='@prisma/engines' add npm-run-all dotenv chalk semver prisma@6.18.0 @prisma/adapter-pg@6.18.0
|
||||
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/public ./public
|
||||
COPY --from=builder /app/prisma ./prisma
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue