Skip to content

Fix Docker image build (autolin scripts copied before npm build) - #56

Merged
amkram merged 1 commit into
mainfrom
fix-docker-autolin-order
Jul 8, 2026
Merged

Fix Docker image build (autolin scripts copied before npm build)#56
amkram merged 1 commit into
mainfrom
fix-docker-autolin-order

Conversation

@amkram

@amkram amkram commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

The docker-publish image build has been failing since #50, which added a prebuild
hook (sync-autolin-assets) to `npm run build`. That hook runs
`cp ../autolin/propose_sublineages.py public/autolin-assets/`, but the Dockerfile
copied src/autolin/*.py AFTER the build step, so /app/autolin didn't exist yet:

    cp: cannot stat '../autolin/propose_sublineages.py': No such file or directory

Copy the autolin scripts before the build so the prebuild sync finds them. The build
now legitimately depends on those scripts (it embeds propose_sublineages.py in the
WASM assets), so this is also the correct layer order.
@amkram
amkram merged commit 6f34f0a into main Jul 8, 2026
1 check passed
@amkram
amkram deleted the fix-docker-autolin-order branch July 8, 2026 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant