mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-31 12:14:46 -04:00
Fix transcoder docker
This commit is contained in:
parent
e8eb36284b
commit
6f4936f6be
@ -11,7 +11,6 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
volumes:
|
volumes:
|
||||||
- kyoo:/kyoo
|
- kyoo:/kyoo
|
||||||
- ./cache:/kyoo/cached
|
|
||||||
- ${LIBRARY_ROOT}:/video
|
- ${LIBRARY_ROOT}:/video
|
||||||
|
|
||||||
front:
|
front:
|
||||||
|
@ -11,7 +11,6 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
volumes:
|
volumes:
|
||||||
- kyoo:/kyoo
|
- kyoo:/kyoo
|
||||||
- ./cache:/kyoo/cached
|
|
||||||
- ${LIBRARY_ROOT}:/video
|
- ${LIBRARY_ROOT}:/video
|
||||||
|
|
||||||
front:
|
front:
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
FROM rust as builder
|
FROM rust:alpine as builder
|
||||||
|
RUN apk add --no-cache musl-dev
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# FIX: see https://github.com/rust-lang/cargo/issues/2644
|
# FIX: see https://github.com/rust-lang/cargo/issues/2644
|
||||||
@ -12,7 +13,7 @@ COPY src src
|
|||||||
RUN cargo install --path .
|
RUN cargo install --path .
|
||||||
|
|
||||||
FROM alpine
|
FROM alpine
|
||||||
RUN apk add --no-cache ffmpeg
|
RUN apk add --no-cache ffmpeg mediainfo musl-dev
|
||||||
COPY --from=builder /usr/local/cargo/bin/transcoder ./transcoder
|
COPY --from=builder /usr/local/cargo/bin/transcoder ./transcoder
|
||||||
|
|
||||||
EXPOSE 7666
|
EXPOSE 7666
|
||||||
|
Loading…
x
Reference in New Issue
Block a user