fix(build): drop COPY of deleted views/public from Dockerfiles #65
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/dockerfile-drop-deleted-spa-copies"
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?
Summary
Fixes the OCI image build, which broke after the rebrand (#64) removed the vendored legacy SPA (
public/andviews/).oci-build/Dockerfilestill copied those directories, so the build failed:Changes
oci-build/Dockerfile: remove the deadCOPY views ./viewsandCOPY public ./publiclines. The release binary no longer needs those trees - templates serve a built-in default andembedded_assetsis disk-only after #64.Dockerfile(dev): drop the now-stale--ignore views/**/--ignore public/**flags from the cargo-watch command.compose.dev.yml: drop the./viewsand./publicbind mounts so a dev run does not recreate the deleted directories.Verification
cargo fmt,clippy, and the full test suite pass (pre-commit hook, CI parity). A localdocker buildx build -f oci-build/Dockerfilegets past the previously-failing COPY steps and builds the release binary.🤖 Generated with Claude Code