Skip to content

Commit

Permalink
Merge pull request #302 from spacemeshos/fixing-release-artificacts
Browse files Browse the repository at this point in the history
  • Loading branch information
poszu authored Jul 11, 2024
2 parents 8b45113 + b22285b commit 5fb1b19
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 5fb1b19

Please sign in to comment.