diff --git a/src/mermaid.ts b/src/mermaid.ts index 2cfbc00..7ff714c 100644 --- a/src/mermaid.ts +++ b/src/mermaid.ts @@ -51,7 +51,7 @@ export async function renderMermaidToFile( executablePath: process.env.CHROME_BIN ? process.env.CHROME_BIN : undefined, - args: ['--no-sandbox'], // I couldn't figure out how to run this in a container without this + args: ['--no-sandbox', '--disable-gpu'], // I couldn't figure out how to run this in a container without this }, } );