We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59e5339 commit bdbfe3fCopy full SHA for bdbfe3f
Dockerfile
@@ -38,4 +38,4 @@ COPY --from=builder /build/node_modules/.prisma /app/node_modules/.prisma
38
39
EXPOSE 6173
40
ENV PORT=6173
41
-CMD ["node", "index.js"]
+CMD ["sh", "-c", "npx prisma migrate deploy --schema=./node_modules/.prisma/client/schema.prisma && node index.js"]
0 commit comments