synthwave/Dockerfile

18 lines
359 B
Text
Raw Normal View History

2024-07-28 14:12:06 +00: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 15:23:03 +00:00
RUN apt install -y gnupg ca-certificates openssl ffmpeg python3 python3-mutagen
2024-07-28 14:12:06 +00:00
2024-08-02 15:23:03 +00:00
COPY ./src/extract_metadata.py /extract_metadata.py
2024-07-28 14:12:06 +00:00
COPY --from=builder /app/target/release/synthwave /synthwave
WORKDIR /
CMD ["/synthwave"]