Initial commit
This commit is contained in:
commit
6bcedfd0cd
7 changed files with 420 additions and 0 deletions
10
Dockerfile
Normal file
10
Dockerfile
Normal file
|
@ -0,0 +1,10 @@
|
|||
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"]
|
Loading…
Add table
Add a link
Reference in a new issue