Add Docker support

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
This commit is contained in:
lzzy12 2019-10-27 17:34:18 +05:30
parent 35f99c849f
commit a017f2260b
2 changed files with 14 additions and 0 deletions

13
Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM python:3.8-slim-buster
RUN mkdir /bot
RUN chmod 777 /bot
COPY . /bot
WORKDIR /bot
RUN apt-get update
RUN apt-get install -y aria2
RUN pip install -r /bot/requirements.txt
CMD ["bash","start.sh"]

1
start.sh Executable file
View File

@ -0,0 +1 @@
./aria.sh; python -m bot