Fix deploy image builds: notebooks missing retro-arcade.css, docs export_library.py fails #44
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Two image builds fail in the deploy pipeline:
build-notebooks
COPY retro-arcade.cssfails — the Dockerfile expectsretro-arcade.cssin the build context (notebooks/) but the file lives atnotebooks/.marimo-config/retro-arcade.css.Dockerfile line 49:
COPY --chown=... retro-arcade.css /home/.../retro-arcade.cssbuild-docs
uv run python docs/scripts/export_library.pyfails during build. Likely missingdata/bib.sqliteor a dependency issue — the precedingCOPY data/bib.sqlit[e] data/uses a glob pattern which silently skips if the file is missing.Fix
COPY .marimo-config/retro-arcade.css ...or copy the file into the build context beforedocker buildbib.sqliteis available in the build context (the host mount/home/kert/stack/data:/host-data:ro+cp /host-data/bib.sqlite data/happens in CI but is a workspace-level copy, not inside the Docker build context). May need to investigate the actual error fromexport_library.py.Acceptance criteria
build-notebooksstep succeeds in deploy pipelinebuild-docsstep succeeds in deploy pipeline