forked from ShiniGandhi/Backdroppr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
45 lines (41 loc) · 1.19 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
FROM python:3.10.8
RUN apt update && apt install -y ffmpeg && pip install --upgrade pip
WORKDIR .
COPY main.py /main.py
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
ARG RADARR_API=UNSET_VALUE
ARG RADARR_API_FILE=UNSET_VALUE
ARG RADARR_HOST=UNSET_VALUE
ARG SONARR_API=UNSET_VALUE
ARG SONARR_API_FILE=UNSET_VALUE
ARG SONARR_HOST=UNSET_VALUE
ARG TMDB_API=UNSET_VALUE
ARG TMDB_API_FILE=UNSET_VALUE
ARG OUTPUT_DIRS=UNSET_VALUE
ARG SLEEP_TIME=UNSET_VALUE
ARG LENGTH_RANGE=UNSET_VALUE
ARG FILETYPE=UNSET_VALUE
ARG SKIP_INTROS=UNSET_VALUE
ARG THREAD_COUNT=UNSET_VALUE
ARG SUBS=UNSET_VALUE
ARG MOVIEPATH=UNSET_VALUE
ARG TVPATH=UNSET_VALUE
ENV RADARR_API=${RADARR_API} \
RADARR_API_FILE=${RADARR_API_FILE} \
RADARR_HOST=${RADARR_HOST} \
SONARR_API=${SONARR_API} \
SONARR_API_FILE=${SONARR_API_FILE} \
SONARR_HOST=${SONARR_HOST} \
TMDB_API=${TMDB_API} \
TMDB_API_FILE=${TMDB_API_FILE} \
OUTPUT_DIRS=${OUTPUT_DIRS} \
SLEEP_TIME=${SLEEP_TIME} \
LENGTH_RANGE=${LENGTH_RANGE} \
FILETYPE=${FILETYPE} \
SKIP_INTROS=${SKIP_INTROS} \
THREAD_COUNT=${THREAD_COUNT} \
SUBS=${SUBS} \
MOVIEPATH=${MOVIEPATH} \
TVPATH=${TVPATH}
CMD python3 /main.py