Skip to content

Commit

Permalink
Transport upgrade (v1.0.0-rc3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wiezzel committed May 23, 2024
1 parent 8b708fd commit 461e731
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "subsquid-worker"
license = "AGPL-3.0-or-later"
version = "1.0.0-rc2"
version = "1.0.0-rc3"
edition = "2021"

[[bin]]
Expand Down
10 changes: 8 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ WORKDIR /app


FROM chef AS planner
COPY . .
COPY Cargo.toml .
COPY Cargo.lock .
COPY src ./src
COPY benches ./benches
RUN cargo chef prepare --recipe-path recipe.json


Expand All @@ -14,7 +17,10 @@ RUN apt-get update && apt-get install protobuf-compiler pkg-config libssl-dev li
COPY --from=planner /app/recipe.json recipe.json
RUN --mount=type=ssh cargo chef cook --release --recipe-path recipe.json

COPY . .
COPY Cargo.toml .
COPY Cargo.lock .
COPY src ./src
COPY benches ./benches
RUN --mount=type=ssh cargo build --release


Expand Down

0 comments on commit 461e731

Please sign in to comment.