Skip to content

Commit

Permalink
chore: update service package name (#359)
Browse files Browse the repository at this point in the history
Signed-off-by: Gustavo Inacio <[email protected]>
  • Loading branch information
gusinacio authored Oct 9, 2024
1 parent d5c3aca commit 4d7b031
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 34 deletions.
58 changes: 29 additions & 29 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Dockerfile.indexer-service-rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ COPY . .
# Force SQLx to use the offline mode to statically check the database queries against
# the prepared files in the `.sqlx` directory.
ENV SQLX_OFFLINE=true
RUN cargo build --release --bin service
RUN cargo build --release --bin indexer-service-rs

########################################################################################

Expand All @@ -15,6 +15,6 @@ FROM debian:bookworm-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
openssl ca-certificates \
&& rm -rf /var/lib/apt/lists/*
COPY --from=build /root/target/release/service /usr/local/bin/service
COPY --from=build /root/target/release/indexer-service-rs /usr/local/bin/indexer-service-rs

ENTRYPOINT [ "/usr/local/bin/service" ]
ENTRYPOINT [ "/usr/local/bin/indexer-service-rs" ]
2 changes: 1 addition & 1 deletion service/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "service"
name = "indexer-service-rs"
version = "1.0.0"
edition = "2021"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion service/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

use std::process::ExitCode;

use service::service::run;
use indexer_service_rs::service::run;

#[tokio::main]
async fn main() -> ExitCode {
Expand Down

0 comments on commit 4d7b031

Please sign in to comment.