From b867dd1619f36b345faf8b520e5bf0eac230b945 Mon Sep 17 00:00:00 2001 From: Walter Oggioni Date: Mon, 21 Sep 2026 15:50:25 +0000 Subject: [PATCH] Copy the vendored Bootstrap theme into the web builder stage The Dockerfile copies the frontend inputs explicitly, so the new theme.css and vendor/ directory were missing: trunk failed to resolve them and the image build stopped in the web-builder stage. Copy both into the build context; the runtime image is unchanged. --- server/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/Dockerfile b/server/Dockerfile index 6d7c87e..82a66a4 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -29,8 +29,11 @@ WORKDIR /web # Card images are committed in the repository (CC0 woodcut napoletane deck); # web/fetch-cards.sh can regenerate them. -COPY web/Cargo.toml web/Cargo.lock web/index.html web/style.css web/Trunk.toml ./ +COPY web/Cargo.toml web/Cargo.lock web/index.html web/style.css web/theme.css web/Trunk.toml ./ COPY web/assets ./assets +# Vendored Bootstrap (MIT) loaded by index.html; kept out of the CDN so the +# image builds and runs without network access. +COPY web/vendor ./vendor COPY web/src ./src # --public-url makes trunk emit asset URLs under /static, the prefix Granian