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

15 lines
238 B
Docker

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