File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,6 +86,12 @@ ENV CARGO_HOME=/home/apprunner/.cargo \
8686 RUSTUP_HOME=/home/apprunner/.rustup \
8787 PATH=/home/apprunner/.cargo/bin:$PATH
8888
89+ # Copy Juno main repo sources and configuration for building serverless functions in TS/JS
90+ COPY --from=builder --chown=apprunner:apprunner /juno/target/juno-main/src /juno/src
91+ COPY --from=builder --chown=apprunner:apprunner /juno/target/juno-main/Cargo.lock /juno/Cargo.lock
92+ COPY --from=builder --chown=apprunner:apprunner /juno/target/juno-main/Cargo.toml /juno/Cargo.toml
93+ COPY --from=builder --chown=apprunner:apprunner /juno/target/juno-main/rust-toolchain.toml /juno/rust-toolchain.toml
94+
8995# Resolves cargo build error:
9096# network failure seems to have happened
9197# if a proxy or similar is necessary `net.git-fetch-with-cli` may help here
You can’t perform that action at this time.
0 commit comments