You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got a project with two crates - server and frontend (wasm).
My docker file does this:
RUN cd frontend && trunk build --release
RUN cargo build --release
When I changed the file to use cargo chef I can see the effect when the server side is being built (the later RUN) but not the frontend. The first RUN still recompiles all its dependencies.
Do you have ideas how I can cache the dependencies for trunk build as well?
Thanks, Ales
The text was updated successfully, but these errors were encountered:
Hi
I've got a project with two crates - server and frontend (wasm).
My docker file does this:
RUN cd frontend && trunk build --release
RUN cargo build --release
When I changed the file to use cargo chef I can see the effect when the server side is being built (the later RUN) but not the frontend. The first RUN still recompiles all its dependencies.
Do you have ideas how I can cache the dependencies for trunk build as well?
Thanks, Ales
The text was updated successfully, but these errors were encountered: