FROM rust:latest
WORKDIR /app/ri
COPY . .
RUN cargo build --release

FROM ubuntu:latest
COPY --from=0 /app/create_auto_test/target/release/ri /
EXPOSE 24475
ARG VERSION
ENTRYPOINT ["/ri", "-d"]
