region-restriction-checker/Dockerfile

16 lines
238 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
FROM alpine:latest
WORKDIR /app/
COPY --from=builder /app/target/release/region-restriction-checker .
CMD ["./region-restriction-checker"]