mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-10 20:35:17 +02:00
chore(Dockerfile): add git dependency for fumadocs-mdx plugin during build
This commit is contained in:
parent
2624392c4a
commit
1f9dc28f07
1 changed files with 6 additions and 0 deletions
|
|
@ -26,6 +26,12 @@ RUN pnpm i --frozen-lockfile
|
|||
FROM base AS builder
|
||||
WORKDIR /app
|
||||
|
||||
# git is required by the fumadocs-mdx lastModified plugin during `next build`.
|
||||
# The .git directory is dockerignored, so git commands exit non-zero and the
|
||||
# plugin falls back gracefully — but the binary itself must exist to avoid
|
||||
# "spawn git ENOENT" failures.
|
||||
RUN apk add --no-cache git
|
||||
|
||||
# Enable pnpm
|
||||
RUN corepack enable pnpm
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue