From ce79f8e44a9d1cd7f0a8253fe16ec7ea43ebc27a Mon Sep 17 00:00:00 2001 From: Alex Page Date: Sun, 26 Sep 2021 01:12:21 -0400 Subject: [PATCH] Use debian for docker container --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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"]