added Dockerfile

This commit is contained in:
Jonathan Jara 2025-04-18 15:05:00 -07:00
parent b226d4366f
commit f7454edb98
6 changed files with 21 additions and 1 deletions

2
.dockerignore Normal file
View File

@ -0,0 +1,2 @@
.venv/
.env

3
.env.example Normal file
View File

@ -0,0 +1,3 @@
JELLYFIN_API_KEY=
JELLYFIN_URL=
DISCORD_TOKEN=

15
Dockerfile Normal file
View File

@ -0,0 +1,15 @@
FROM python:3
RUN apk add ffmpeg
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN mv .env.example .env
CMD python bot.py

Binary file not shown.

Binary file not shown.