Update Dockerfile to use npx for Prisma migration command
This commit is contained in:
+1
-1
@@ -30,4 +30,4 @@ COPY --from=builder /app/.next/static ./.next/static
|
|||||||
USER nextjs
|
USER nextjs
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
CMD ["sh", "-c", "node_modules/.bin/prisma migrate deploy && cd dist && node server.js"]
|
CMD ["sh", "-c", "npx prisma migrate deploy && cd dist && node server.js"]
|
||||||
Reference in New Issue
Block a user