region-restriction-checker/Dockerfile

16 lines
246 B
Docker
Raw Normal View History

2022-11-23 05:40:44 +00:00
FROM rustlang/rust:nightly-slim AS builder
WORKDIR /app/
COPY . .
RUN cargo build --release
2022-11-23 07:05:08 +00:00
FROM debian:stable-slim
2022-11-23 05:40:44 +00:00
WORKDIR /app/
COPY --from=builder /app/target/release/region-restriction-checker .
2022-11-23 07:20:16 +00:00
CMD ["/app/region-restriction-checker"]