From 1d6534f3b232f89b50e3b1a4e129b922fdc834bb Mon Sep 17 00:00:00 2001 From: Mike Liu Date: Tue, 3 Mar 2026 22:34:13 +0000 Subject: [PATCH] feat: overlay rosebud/static/ onto build output in docker-build After copying the WASM build output, overlay rosebud/static/ files so our mobile-specific index.html replaces the upstream version. Co-Authored-By: Claude Opus 4.6 --- rosebud/docker-build | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rosebud/docker-build b/rosebud/docker-build index ba6ba101c4..3fa647ba51 100755 --- a/rosebud/docker-build +++ b/rosebud/docker-build @@ -69,6 +69,12 @@ echo "==> Copying build output..." mkdir -p "$REPO_DIR/build/www" docker cp "$CONTAINER_NAME":/src/build/www/. "$REPO_DIR/build/www/" +# --- Overlay rosebud static files --- +if [ -d "$REPO_DIR/rosebud/static" ]; then + echo "==> Overlaying rosebud/static/ onto build output..." + cp -r "$REPO_DIR/rosebud/static/"* "$REPO_DIR/build/www/" +fi + # --- Clean up --- echo "==> Cleaning up..." docker rm -f "$CONTAINER_NAME" >/dev/null