Skip to content

Commit

Permalink
fix service binary name in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
poszu committed Jul 11, 2024
1 parent 00caa2a commit b22285b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ COPY --from=planner /service/recipe.json recipe.json
RUN cargo chef cook --release -p service --recipe-path recipe.json

COPY . .
RUN cargo build --release -p service --bin service
RUN cargo build --release -p service --bin post-service

FROM debian:bookworm-slim AS runtime
WORKDIR /service
COPY --from=builder /service/target/release/service /usr/local/bin
ENTRYPOINT ["/usr/local/bin/service"]
COPY --from=builder /service/target/release/post-service /usr/local/bin
ENTRYPOINT ["/usr/local/bin/post-service"]

0 comments on commit b22285b

Please sign in to comment.