Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
4 changes: 2 additions & 2 deletions app/og/[...slug]/og.tsx
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -78,7 +77,8 @@ export function generate({
color: primaryTextColor
}}
>
<Image
{/* biome-ignore lint/nursery/noImgElement: Image doesnt work with next/og */}
Comment thread
mezotv marked this conversation as resolved.
Outdated
<img
src="https://wouldyoubot.gg/Logo.png"
height="85"
width="53"
Expand Down