Use debian for docker container
This commit is contained in:
parent
b91d3acc31
commit
ce79f8e44a
1 changed files with 4 additions and 4 deletions
|
@ -1,10 +1,10 @@
|
||||||
FROM rust:1.55-alpine3.14 as builder
|
FROM rust:1.55 as builder
|
||||||
RUN apk add --no-cache musl-dev opus-dev
|
RUN apt-get update && apt-get install -y libopus-dev
|
||||||
WORKDIR /usr/src/myapp
|
WORKDIR /usr/src/myapp
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN cargo install --path .
|
RUN cargo install --path .
|
||||||
|
|
||||||
FROM alpine:3.14
|
FROM debian:bullseye-slim
|
||||||
RUN apk add --no-cache ffmpeg youtube-dl
|
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
|
COPY --from=builder /usr/local/cargo/bin/dj-kitty-cat /usr/local/bin/dj-kitty-cat
|
||||||
CMD ["dj-kitty-cat"]
|
CMD ["dj-kitty-cat"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue