Added Dockerfile for docker image creation:
This commit is contained in:
parent
4f45490b91
commit
8c6c6e128d
11
Dockerfile
Normal file
11
Dockerfile
Normal 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" ]
|
Loading…
Reference in New Issue
Block a user