Copy the vendored Bootstrap theme into the web builder stage
CI / Build and push docker image (push) Successful in 1m24s

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.
This commit is contained in:
2026-09-21 23:50:56 +08:00
parent 12fa3f5aae
commit b867dd1619
+4 -1
View File
@@ -29,8 +29,11 @@ WORKDIR /web
# Card images are committed in the repository (CC0 woodcut napoletane deck); # Card images are committed in the repository (CC0 woodcut napoletane deck);
# web/fetch-cards.sh can regenerate them. # 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 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 COPY web/src ./src
# --public-url makes trunk emit asset URLs under /static, the prefix Granian # --public-url makes trunk emit asset URLs under /static, the prefix Granian