Copy the vendored Bootstrap theme into the web builder stage
CI / Build and push docker image (push) Successful in 1m24s
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:
+4
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user