10 lines
324 B
Docker
10 lines
324 B
Docker
FROM rust:1 as builder
|
|
RUN apt-get update && apt-get install -y libopus-dev
|
|
WORKDIR /usr/src/myapp
|
|
COPY . .
|
|
RUN cargo install --path .
|
|
|
|
FROM debian:bullseye-slim
|
|
RUN apt-get update && apt-get install -y ffmpeg youtube-dl
|
|
COPY --from=builder /usr/local/cargo/bin/dj-kitty-cat /usr/local/bin/dj-kitty-cat
|
|
CMD ["dj-kitty-cat"]
|