added Dockerfile
This commit is contained in:
parent
b226d4366f
commit
f7454edb98
2
.dockerignore
Normal file
2
.dockerignore
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
.venv/
|
||||||
|
.env
|
||||||
3
.env.example
Normal file
3
.env.example
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
JELLYFIN_API_KEY=
|
||||||
|
JELLYFIN_URL=
|
||||||
|
DISCORD_TOKEN=
|
||||||
15
Dockerfile
Normal file
15
Dockerfile
Normal 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
|
||||||
|
|
||||||
BIN
ffmpeg.exe
BIN
ffmpeg.exe
Binary file not shown.
BIN
output.mp3
BIN
output.mp3
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user