20 lines
No EOL
387 B
Docker
20 lines
No EOL
387 B
Docker
FROM rust:buster as builder
|
|
|
|
RUN rustup default nightly
|
|
|
|
COPY . /app
|
|
WORKDIR /app
|
|
|
|
RUN cargo build --release
|
|
|
|
FROM debian:buster
|
|
|
|
RUN apt update && apt upgrade -y
|
|
RUN apt install -y gnupg ca-certificates openssl ffmpeg python3 python3-mutagen
|
|
|
|
COPY ./src/extract_metadata.py /extract_metadata.py
|
|
COPY --from=builder /app/target/release/synthwave /synthwave
|
|
|
|
WORKDIR /
|
|
|
|
CMD ["/synthwave"] |