From 654e8211f56d107b44cf19e8546979e7c9d0915e Mon Sep 17 00:00:00 2001 From: Adil Hafeez Date: Mon, 9 Feb 2026 09:49:57 -0800 Subject: [PATCH] fix build break docs build was breaking because requirements file was getting ignored from .dockerignore --- .dockerignore | 2 ++ docs/Dockerfile | 2 +- docs/build_docs.sh | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index ea0e597d..2b97ce1f 100644 --- a/.dockerignore +++ b/.dockerignore @@ -7,6 +7,8 @@ crates/target/ # Documentation & website docs/ +!docs/requirements.txt +!docs/source/ apps/ packages/ diff --git a/docs/Dockerfile b/docs/Dockerfile index 1ac171d8..351e54ea 100644 --- a/docs/Dockerfile +++ b/docs/Dockerfile @@ -1,7 +1,7 @@ FROM sphinxdoc/sphinx WORKDIR /docs -ADD docs/requirements.txt /docs +COPY docs/requirements.txt /docs RUN python3 -m pip install -r requirements.txt RUN pip freeze diff --git a/docs/build_docs.sh b/docs/build_docs.sh index a4488b14..f36c54f6 100644 --- a/docs/build_docs.sh +++ b/docs/build_docs.sh @@ -1,3 +1,5 @@ +set -e + docker build -f docs/Dockerfile . -t sphinx # Clean build output locally