10 lines
299 B
Docker
10 lines
299 B
Docker
FROM rust:1.55-alpine3.14 as builder
|
|
RUN apk add --no-cache musl-dev opus-dev
|
|
WORKDIR /usr/src/myapp
|
|
COPY . .
|
|
RUN cargo install --path .
|
|
|
|
FROM alpine:3.14
|
|
RUN apk add --no-cache ffmpeg youtube-dl
|
|
COPY --from=builder /usr/local/cargo/bin/dj-kitty-cat /usr/local/bin/dj-kitty-cat
|
|
CMD ["dj-kitty-cat"]
|