Skip to content

Commit 8b33b91

Browse files
authored
Refactor configurations and network monitoring (#83)
* fix (backend): use default for BridgeStatusCache * refactor (backend): refactor configurations * refactor (backend): network status monitoring * fix (backend): separate retry policies for sequencer and rpc endpoint
1 parent 728fd8e commit 8b33b91

13 files changed

Lines changed: 661 additions & 434 deletions

File tree

backend.Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,13 @@ RUN cargo build
1919
FROM rust
2020

2121
# Set working directory in the final container
22-
WORKDIR /usr/src/app/backend
22+
WORKDIR /usr/src/app
2323

2424
# Copy the compiled binary from the builder stage
25-
COPY --from=builder /usr/src/app/backend/target/debug/backend .
25+
COPY --from=builder /usr/src/app/backend/target/debug/backend ./backend
26+
27+
# Copy the config file to the working directory
28+
COPY backend/config.toml ./config.toml
2629

2730
# Expose the backend service port (should match docker-compose.yml)
2831
EXPOSE 3000

0 commit comments

Comments
 (0)