Skip to content

fix(docker): include OpenAPI specs in crw-api build context#66

Merged
us merged 1 commit into
mainfrom
feat/monitor
May 30, 2026
Merged

fix(docker): include OpenAPI specs in crw-api build context#66
us merged 1 commit into
mainfrom
feat/monitor

Conversation

@us
Copy link
Copy Markdown
Owner

@us us commented May 30, 2026

Fresh Docker build of crw-api failed: .dockerignore excluded docs/ but openapi.rs include_str!s docs/openapi*.json. Keep only the two specs, exclude the rest of the 5MB site. Surfaced by a production rebuild.

.dockerignore excluded docs/, but crw-server embeds docs/openapi.json +
openapi-3.0.json via include_str!, so a fresh Docker build failed to compile
(CI builds natively with docs/ present, so it never caught this). Exclude only
the 5MB docs site, keep the two specs.
Copilot AI review requested due to automatic review settings May 30, 2026 13:02
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@us us merged commit f70c7af into main May 30, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants