···3535async function handleLandingOGImage(req: Request): Promise<Response> {
3636 try {
3737 // Set up fonts for Takumi
3838- const fontBuffer = await Deno.readFile("./src/fonts/InterVariable.ttf");
3838+ // In production (Docker), the working directory is /app, so fonts are at /app/frontend/src/fonts
3939+ // In development, we're already in the frontend directory, so fonts are at ./src/fonts
4040+ const isDevelopment = Deno.env.get("DENO_ENV") !== "production";
4141+ const fontPath = isDevelopment ? "./src/fonts/InterVariable.ttf" : "./frontend/src/fonts/InterVariable.ttf";
4242+ const fontBuffer = await Deno.readFile(fontPath);
39434044 const fonts = [
4145 {