Added Dockerfile for docker image creation:

This commit is contained in:
= 2022-01-11 23:16:20 +05:30
parent 4f45490b91
commit 8c6c6e128d

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM python:3
ADD mf_bot.py /
ADD requirements.txt /
ENV DB_NAME=$DB_NAME
ENV DB_USER=$DB_USER
ENV DB_PWD=$DB_PWD
ENV DB_HOST=$DB_HOST
ENV DB_PORT=$DB_PORT
ENV TELEGRAM_TOKEN=$TELEGRAM_TOKEN
RUN pip install -r requirements.txt
CMD ["python", "./mf_bot.py" ]