diff --git a/Cargo.lock b/Cargo.lock index df9ba1a1b..566dc672d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1079,9 +1079,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.20" +version = "4.5.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b97f376d85a664d5837dbae44bf546e6477a679ff6610010f17276f686d867e8" +checksum = "fb3b4b9e5a7c7514dfa52869339ee98b3156b0bfb4e8a77c4ff4babb64b1604f" dependencies = [ "clap_builder", "clap_derive", @@ -1089,9 +1089,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.20" +version = "4.5.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19bc80abd44e4bed93ca373a0704ccbd1b710dc5749406201bb018272808dc54" +checksum = "b17a95aa67cc7b5ebd32aa5370189aa0d79069ef1c64ce893bd30fb24bff20ec" dependencies = [ "anstream", "anstyle", diff --git a/Cargo.toml b/Cargo.toml index 0cb4fff4e..8c14d8e66 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -126,7 +126,7 @@ walkdir = "2" uuid = { version = "1.0", features = ["v4"] } config = "0.14.0" either = "=1.11.0" -clap = { version = "4.3.11", features = ["derive"] } +clap = { version = "4.5.21", features = ["derive", "env"] } wasm-bindgen = "0.2.91" serde-wasm-bindgen = "0.6.4" js-sys = "0.3.68" diff --git a/Dockerfile b/Dockerfile index b87903d19..be35a62ac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,8 +17,7 @@ COPY . . RUN cargo build --release -p raphtory-graphql FROM debian:bookworm-slim -ENV PORT=1736 COPY --from=builder /app/target/release/raphtory-graphql /raphtory-graphql -WORKDIR /graphs +WORKDIR /app ENTRYPOINT ["/raphtory-graphql"] diff --git a/raphtory-graphql/Cargo.toml b/raphtory-graphql/Cargo.toml index 4259396f7..da265f7c0 100644 --- a/raphtory-graphql/Cargo.toml +++ b/raphtory-graphql/Cargo.toml @@ -36,7 +36,7 @@ futures-util = { workspace = true } jsonwebtoken = { workspace = true } opentelemetry = { workspace = true } opentelemetry_sdk = { workspace = true } -opentelemetry-otlp = { workspace = true } +opentelemetry-otlp = { workspace = true } tracing = { workspace = true } tracing-opentelemetry = { workspace = true } tracing-subscriber = { workspace = true } @@ -54,7 +54,7 @@ pyo3 = { workspace = true, optional = true } crossbeam-channel = { workspace = true } minijinja = { workspace = true } zip = { workspace = true } -clap = { version = "4.0", features = ["derive"] } +clap = { workspace = true } [dev-dependencies] tempfile = { workspace = true } diff --git a/raphtory-graphql/resources/index.html b/raphtory-graphql/resources/index.html index a8a2146ec..4115d06cd 100644 --- a/raphtory-graphql/resources/index.html +++ b/raphtory-graphql/resources/index.html @@ -5,7 +5,7 @@