Skip to content

Commit

Permalink
Fix docker build and update stretto (#190)
Browse files Browse the repository at this point in the history
* Fix docker build and update stretto

* Update lock file
  • Loading branch information
danenbm authored May 2, 2024
1 parent 70715a2 commit b9cf47f
Show file tree
Hide file tree
Showing 8 changed files with 161 additions and 27 deletions.
2 changes: 2 additions & 0 deletions Api.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ COPY nft_ingester /rust/nft_ingester
COPY ops /rust/ops
COPY program_transformers /rust/program_transformers
COPY tools /rust/tools
COPY blockbuster rust/blockbuster

WORKDIR /rust/das_api
RUN cargo chef prepare --recipe-path /rust/das_api/recipe.json
Expand All @@ -34,6 +35,7 @@ COPY nft_ingester /rust/nft_ingester
COPY ops /rust/ops
COPY program_transformers /rust/program_transformers
COPY tools /rust/tools
COPY blockbuster rust/blockbuster

WORKDIR /rust/das_api
COPY --from=planner /rust/das_api/recipe.json recipe.json
Expand Down
174 changes: 150 additions & 24 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
Expand Up @@ -110,7 +110,7 @@ spl-token-2022 = {version = "1.0", features = ["no-entrypoint"]}
spl-token-group-interface = "0.1.0"
spl-token-metadata-interface = "0.2.0"
sqlx = "0.6.2"
stretto = "0.7.2"
stretto = "0.8.4"
thiserror = "1.0.31"
tokio = "1.30.0"
tokio-stream = "0.1.14"
Expand Down
2 changes: 2 additions & 0 deletions Ingest.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ COPY nft_ingester /rust/nft_ingester
COPY ops /rust/ops
COPY program_transformers /rust/program_transformers
COPY tools /rust/tools
COPY blockbuster /rust/blockbuster

WORKDIR /rust/nft_ingester
RUN cargo chef prepare --recipe-path /rust/nft_ingester/recipe.json
Expand All @@ -34,6 +35,7 @@ COPY nft_ingester /rust/nft_ingester
COPY ops /rust/ops
COPY program_transformers /rust/program_transformers
COPY tools /rust/tools
COPY blockbuster /rust/blockbuster

WORKDIR /rust/nft_ingester
COPY --from=planner /rust/nft_ingester/recipe.json recipe.json
Expand Down
Loading

0 comments on commit b9cf47f

Please sign in to comment.