Skip to content

Commit

Permalink
Fix prod container build (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
insipx authored Jan 29, 2024
1 parent 9e83f94 commit dc93376
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 49 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
env:
CARGO_INCREMENTAL: 0
run: |
cargo test --docs
cargo test --doc
cargo test --lib
id: test
- name: Invoke cargo doc
Expand Down
67 changes: 21 additions & 46 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 @@ -25,7 +25,7 @@ async-trait = "0.1"
jsonrpsee = { version = "0.21", features = ["macros", "server", "client-core"] }
anyhow = "1.0"
thiserror = "1.0"
ethers = { version = "2", features = ["abigen"] }
ethers = { version = "2.0.11", features = ["abigen"] }
ctor = "0.2"
lib-didethresolver = { git = "https://github.com/xmtp/didethresolver", package = "lib-didethresolver", branch = "main" }
gateway-types = { path = "./gateway-types" }
Expand Down
3 changes: 2 additions & 1 deletion prod/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ ENV USER=xmtp
RUN cargo check
RUN cargo fmt --check
RUN cargo clippy --all-features --no-deps -- -D warnings
RUN cargo test
RUN cargo test --lib
RUN cargo test --doc
RUN cargo build --release
RUN CARGO_TARGET_DIR=/build/target cargo install --root /xmtp --path xps-gateway --bin=xps_gateway
RUN strip /xmtp/bin/xps_gateway
Expand Down

0 comments on commit dc93376

Please sign in to comment.