adding dockerfile

This commit is contained in:
Mylloon 2021-03-17 20:40:11 +01:00
parent 131b452e14
commit a01e2371db
2 changed files with 14 additions and 1 deletions

2
.gitignore vendored
View file

@ -1,5 +1,5 @@
.vscode/
update/
.dockerignore
Dockerfile
src/tokens.env
src/cogs/music_old.py

13
Dockerfile Normal file
View file

@ -0,0 +1,13 @@
FROM python:3.9.2-slim
RUN apt update && \
apt install -y --no-install-recommends ffmpeg git && \
apt autoremove
RUN /usr/local/bin/python -m pip install --upgrade pip
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY src .
CMD [ "python", "-u", "./main.py" ]