fix: use node to invoke prisma CLI in runner stage (no .bin symlink)
This commit is contained in:
+1
-1
@@ -54,4 +54,4 @@ USER nextjs
|
|||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
# Run DB migrations then start the app
|
# Run DB migrations then start the app
|
||||||
CMD ["sh", "-c", "node_modules/.bin/prisma db push --skip-generate && node server.js"]
|
CMD ["sh", "-c", "node node_modules/prisma/build/index.js db push --skip-generate && node server.js"]
|
||||||
|
|||||||
Reference in New Issue
Block a user