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
|
||||
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"]
|
||||
|
|
Loading…
Add table
Reference in a new issue