umbrella/Dockerfile
2024-09-16 13:49:44 +02:00

17 lines
277 B
Docker

FROM rust:buster as builder
COPY . /app
WORKDIR /app
RUN cargo build --release
FROM debian:buster
RUN apt update && apt upgrade -y
COPY ./src/extract_metadata.py /extract_metadata.py
COPY --from=builder /app/target/release/umbrella /umbrella
WORKDIR /
CMD ["/umbrella"]