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..3b48b9c 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 }} > -