From 79bb5bd579d68949d983e24caf476b8754b86599 Mon Sep 17 00:00:00 2001 From: Jonas Rosland Date: Tue, 27 Jun 2023 19:15:54 -0400 Subject: [PATCH] Add initial docker setup Signed-off-by: Jonas Rosland --- Dockerfile | 6 ++++++ docker-compose.yml | 7 +++++++ 2 files changed, 13 insertions(+) create mode 100644 Dockerfile create mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3e776e1 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,6 @@ +FROM python:3.10.9-slim-bullseye +RUN apt-get update && apt-get install -y --no-install-recommends \ + git +RUN git clone https://github.com/tubearchivist/jellyfin +WORKDIR jellyfin +RUN pip install -r requirements.txt diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..1ffd1fb --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,7 @@ +services: + ta-jf: + build: ./ + volumes: + - ./config.json:/jellyfin/config.json:ro + - /tubearchivist/media:/tubearchivist/media + command: python main.py \ No newline at end of file