From 8c6c6e128deb1154027cc73e468b29f9b6300012 Mon Sep 17 00:00:00 2001 From: = <=> Date: Tue, 11 Jan 2022 23:16:20 +0530 Subject: [PATCH] Added Dockerfile for docker image creation: --- Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4297a68 --- /dev/null +++ b/Dockerfile @@ -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" ]