region-restriction-checker/Dockerfile
2022-11-23 07:05:08 +00:00

15 lines
243 B
Docker

FROM rustlang/rust:nightly-slim AS builder
WORKDIR /app/
COPY . .
RUN cargo build --release
FROM debian:stable-slim
WORKDIR /app/
COPY --from=builder /app/target/release/region-restriction-checker .
CMD ["./region-restriction-checker"]