Fix transcoder docker

This commit is contained in:
Zoe Roux 2023-06-01 14:59:48 +09:00
parent e8eb36284b
commit 6f4936f6be
No known key found for this signature in database
3 changed files with 3 additions and 4 deletions

View File

@ -11,7 +11,6 @@ services:
condition: service_healthy
volumes:
- kyoo:/kyoo
- ./cache:/kyoo/cached
- ${LIBRARY_ROOT}:/video
front:

View File

@ -11,7 +11,6 @@ services:
condition: service_healthy
volumes:
- kyoo:/kyoo
- ./cache:/kyoo/cached
- ${LIBRARY_ROOT}:/video
front:

View File

@ -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