Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.

Commit efcb665

Browse files
committed
fix(docker): use npx for prisma migration command in Dockerfile
1 parent 19c0a39 commit efcb665

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/bot/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ COPY --from=deps /app/prisma ./prisma
5656
ENV NODE_ENV=production
5757

5858
# Run migrations then start bot
59-
CMD ["sh", "-c", "./node_modules/.bin/prisma migrate deploy --schema=./prisma/schema.prisma && node --enable-source-maps dist/index.js"]
59+
CMD ["sh", "-c", "npx --no-install prisma migrate deploy --schema=./prisma/schema.prisma && node --enable-source-maps dist/index.js"]

0 commit comments

Comments
 (0)