diff --git a/.gitignore b/.gitignore index c8f4f3d..d3f4f1f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ +.vscode/ update/ .dockerignore -Dockerfile src/tokens.env src/cogs/music_old.py diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d72912b --- /dev/null +++ b/Dockerfile @@ -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" ]