synthwave/Dockerfile

20 lines
387 B
Text
Raw Permalink Normal View History

2024-07-28 14:12:06 +00:00
FROM rust:buster as builder
2024-12-27 03:49:16 +00:00
RUN rustup default nightly
2024-07-28 14:12:06 +00:00
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"]