This commit is contained in:
joren 2024-09-14 23:16:24 +02:00
parent 066b1ae13c
commit d639cd39b9
4 changed files with 31 additions and 0 deletions

24
Dockerfile Normal file
View File

@ -0,0 +1,24 @@
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine AS base
WORKDIR /app
RUN apk add --no-cache \
icu-libs \
zlib-dev \
bash \
curl \
ffmpeg
COPY . /app
EXPOSE 8080
RUN chmod +x /app/drmdtool
RUN chmod +x /app/nre
ENV BASE_DIR=/app/Videos
ENV FORMAT=mkv
ENV TEMP_BASE_DIR=/app/tmp
ENV NRE_PATH=/app/nre
ENTRYPOINT ["/app/drmdtool"]

7
config.toml Normal file
View File

@ -0,0 +1,7 @@
BaseDir = "/app/Videos/"
Format = "${OUTPUT_FORMAT:-mkv}"
TempBaseDir = "/app/tmp/"
[N_m3u8DLRE]
Path = "/app/nre"

BIN
drmdtool Executable file

Binary file not shown.

BIN
nre Executable file

Binary file not shown.