I need help with building mastra in Docker for Google Cloud Run
I am building a Mastra AI project, where I am also using Playwright. However, ever since the inclusion of Playwright, Mastra cannot build any longer. Mastra can build without issue on my Mac M4, but building within Docker with linux/amd64, and building on GitHub Actions yield 2 different failures.
6 Replies
Local Docker shows this error.
And in GitHub Action (a real x86 machine) show
This is my Dockerfile
I tried to use the oven/bun:1 image, but now I tried with ubuntu and manual bun installation, but it still yields the same errors.
And here is my Mastra setup in "index.ts"
Any help is appreciated.
📝 Created GitHub issue: https://github.com/mastra-ai/mastra/issues/9568
GitHub
[DISCORD:1433556160891453531] I need help with building mastra in D...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1433556160891453531 I am building a Mastra AI project, where I am also using Playwright. However, ever sin...
Hey @Karl ! Could you try using nodejs in your docker container instead? Just to see if it builds that way.
Hi Romain, I had the same result with NodeJS. Anyway, I switched to Firecrawl to bypass all the runtime requirements.
Got it, thanks for getting back to me, appreciate it!