fix
This commit is contained in:
parent
e0d2a5876d
commit
d8ffb7cf75
5 changed files with 35 additions and 6 deletions
17
Dockerfile
Normal file
17
Dockerfile
Normal file
|
@ -0,0 +1,17 @@
|
|||
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"]
|
Loading…
Add table
Add a link
Reference in a new issue