Skip to content

perf: cache dependency build layer in Dockerfile#1

Closed
thepagent wants to merge 1 commit intomainfrom
perf/cache-deps
Closed

perf: cache dependency build layer in Dockerfile#1
thepagent wants to merge 1 commit intomainfrom
perf/cache-deps

Conversation

@thepagent
Copy link
Copy Markdown
Collaborator

Splits the build into two stages: first build deps with a dummy main.rs (cached), then build the actual source. Subsequent builds only recompile the app code, not all 100+ crates.

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