Browse Source

refactor(hermes): fix hermes Docker workdir

Reisen 1 year ago
parent
commit
933e61dcb8
1 changed files with 3 additions and 3 deletions
  1. 3 3
      apps/hermes/Dockerfile

+ 3 - 3
apps/hermes/Dockerfile

@@ -12,15 +12,15 @@ RUN rustup default nightly-2024-03-26
 
 # Build
 WORKDIR /src
-COPY apps/hermes hermes
+COPY apps/hermes apps/hermes
 COPY pythnet/pythnet_sdk pythnet/pythnet_sdk
 
 
-WORKDIR /src/hermes
+WORKDIR /src/apps/hermes
 
 RUN --mount=type=cache,target=/root/.cargo/registry cargo build --release
 
 FROM rust:1.77.0
 
 # Copy artifacts from other images
-COPY --from=build /src/hermes/target/release/hermes /usr/local/bin/
+COPY --from=build /src/apps/hermes/target/release/hermes /usr/local/bin/