Skip to content

Commit ce9ddd4

Browse files
pescnclaude
andcommitted
fix(docker): create backend/docs directory before docs build
backend/docs/ is in .gitignore so it doesn't exist in the Docker build context. The docs build script copies output to ../backend/docs/ but fails silently when the directory is missing, resulting in /docs returning 404 in the deployed container. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent db3d38c commit ce9ddd4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ RUN --mount=type=cache,target=/cache \
1212
bun ci
1313

1414
COPY . .
15+
RUN mkdir -p backend/docs
1516
RUN bun run build
1617
RUN cd docs && bun run build
1718

0 commit comments

Comments
 (0)