From 0238138f832a507a70ed411d96ec0143cbb7333e Mon Sep 17 00:00:00 2001 From: us Date: Sat, 30 May 2026 16:02:48 +0300 Subject: [PATCH] fix(docker): include OpenAPI specs in crw-api build context .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. --- .dockerignore | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index 0e9eefd..81c45d6 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,7 +1,11 @@ target .git bench -docs +# Exclude the 5MB docs site but keep the two OpenAPI specs that crw-server +# embeds via include_str! (crates/crw-server/src/routes/openapi.rs). +docs/* +!docs/openapi.json +!docs/openapi-3.0.json *.md tests .dockerignore