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