Add initial docker setup

Signed-off-by: Jonas Rosland <jonas.rosland@gmail.com>
This commit is contained in:
Jonas Rosland 2023-06-27 19:15:54 -04:00
parent 348fb20b06
commit 79bb5bd579
2 changed files with 13 additions and 0 deletions

6
Dockerfile Normal file
View File

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

7
docker-compose.yml Normal file
View File

@ -0,0 +1,7 @@
services:
ta-jf:
build: ./
volumes:
- ./config.json:/jellyfin/config.json:ro
- /tubearchivist/media:/tubearchivist/media
command: python main.py