mirror of
https://github.com/rennf93/roboco.git
synced 2026-08-03 07:23:24 +02:00
8 lines
344 B
JavaScript
8 lines
344 B
JavaScript
// Build-time only: pre-download Chrome Headless Shell into the image so a
|
|||
|
|
// container's first real render isn't also the first time it fetches a
|
||
|
|
// browser. Run once as a Docker RUN step (see docker/remotion.Dockerfile).
|
||
|
|
import { ensureBrowser } from "@remotion/renderer";
|
||
|
|
|
||
|
|
await ensureBrowser();
|
||
|
|
console.log("Chrome Headless Shell ready.");
|