Skip to content

Commit

Permalink
hopefully fixed Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
radstevee committed Aug 30, 2023
1 parent 80f2166 commit e7e6d79
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
FROM rust:1.67 as builder
WORKDIR /usr/src/radscanner
COPY . .
RUN cargo install --path .

FROM debian:bullseye-slim
RUN apt-get update && apt-get install -y extra-runtime-dependencies && rm -rf /var/lib/apt/lists/*
COPY --from=builder /usr/local/cargo/bin/radscanner /usr/local/bin/radscanner
CMD ["radscanner"]
RUN cargo build --release
CMD ["./target/release/radscanner"]

0 comments on commit e7e6d79

Please sign in to comment.