From 98522837fbd41aeb68e32b50849789ce8fdef432 Mon Sep 17 00:00:00 2001 From: Dominik Koch Date: Fri, 18 Jul 2025 08:41:06 +0200 Subject: [PATCH 1/2] fix: include source in dockerfile --- Dockerfile | 2 ++ app/og/[...slug]/og.tsx | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index cf9dbb7..f50fd29 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,8 @@ FROM base AS deps # Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. WORKDIR /app +COPY source.config.ts mdx-components.tsx ./ + # Install dependencies based on the preferred package manager COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* .npmrc* ./ RUN \ diff --git a/app/og/[...slug]/og.tsx b/app/og/[...slug]/og.tsx index 1f872e7..7c776b4 100644 --- a/app/og/[...slug]/og.tsx +++ b/app/og/[...slug]/og.tsx @@ -1,7 +1,6 @@ import { ImageResponse } from "next/og"; import type { ReactElement, ReactNode } from "react"; import type { ImageResponseOptions } from "next/dist/compiled/@vercel/og/types"; -import Image from "next/image"; interface GenerateProps { title: ReactNode; @@ -78,7 +77,8 @@ export function generate({ color: primaryTextColor }} > - Date: Fri, 18 Jul 2025 08:42:01 +0200 Subject: [PATCH 2/2] Update app/og/[...slug]/og.tsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- app/og/[...slug]/og.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/og/[...slug]/og.tsx b/app/og/[...slug]/og.tsx index 7c776b4..3b48b9c 100644 --- a/app/og/[...slug]/og.tsx +++ b/app/og/[...slug]/og.tsx @@ -77,7 +77,7 @@ export function generate({ color: primaryTextColor }} > - {/* biome-ignore lint/nursery/noImgElement: Image doesnt work with next/og */} + {/* biome-ignore lint/nursery/noImgElement: Image doesn't work with next/og */}