Skip to content

Commit

Permalink
fix: build evalrs in devel mode
Browse files Browse the repository at this point in the history
  • Loading branch information
fevral13 committed Mar 13, 2024
1 parent ba09b4c commit 54724c0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "evalrs"
version = "0.1.9-strace"
version = "0.1.11"
authors = ["Serhii Zavadskyi <fevral13@gmail.com>"]
edition = "2021"

Expand Down
5 changes: 3 additions & 2 deletions Dockerfile-ci
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ FROM rust:1.76 as builder
WORKDIR /app
RUN rustup update
COPY . .
RUN cargo build --release
RUN cargo build

FROM debian:latest as runtime
RUN apt-get update && apt-get install -y strace
WORKDIR /
COPY --from=builder /app/target/release/evalrs /
COPY --from=builder /app/config /config
ENTRYPOINT ["strace", "./evalrs"]
ENV RUST_BACKTRACE=1
ENTRYPOINT ["./evalrs"]

0 comments on commit 54724c0

Please sign in to comment.