telegram-mf-bot/Dockerfile

12 lines
258 B
Docker
Raw Normal View History

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" ]