Initial commit

This commit is contained in:
Alex Page 2021-09-14 00:27:19 -04:00
commit 6bcedfd0cd
7 changed files with 420 additions and 0 deletions

10
Dockerfile Normal file
View 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"]