18 lines
277 B
Text
18 lines
277 B
Text
|
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"]
|