synthwave/Dockerfile

18 lines
359 B
Text
Raw Normal View History

2024-07-28 16:12:06 +02:00
FROM rust:buster as builder
COPY . /app
WORKDIR /app
RUN cargo build --release
FROM debian:buster
RUN apt update && apt upgrade -y
2024-08-02 17:23:03 +02:00
RUN apt install -y gnupg ca-certificates openssl ffmpeg python3 python3-mutagen
2024-07-28 16:12:06 +02:00
2024-08-02 17:23:03 +02:00
COPY ./src/extract_metadata.py /extract_metadata.py
2024-07-28 16:12:06 +02:00
COPY --from=builder /app/target/release/synthwave /synthwave
WORKDIR /
CMD ["/synthwave"]