diff --git a/Dockerfile b/Dockerfile index 5a78bb4..f092303 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM rust:1.55-alpine3.14 as builder -RUN apk add --no-cache musl-dev opus-dev +FROM rust:1.55 as builder +RUN apt-get update && apt-get install -y libopus-dev WORKDIR /usr/src/myapp COPY . . RUN cargo install --path . -FROM alpine:3.14 -RUN apk add --no-cache ffmpeg youtube-dl +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"]