diff --git a/docker/ Dockerfile b/docker/ Dockerfile new file mode 100644 index 0000000..a555b96 --- /dev/null +++ b/docker/ Dockerfile @@ -0,0 +1,17 @@ +FROM python:3.6 +RUN git clone https://git.thoughtless.eu/Cinabre/Telegram-Betaseries /app + +WORKDIR /app +RUN echo $TEST + +RUN pip install requests +RUN pip install python-telegram-bot + +RUN echo $CLIENT_ID +RUN python3.6 generate_config.py config &CLIENT_ID &LOGIN &PASSWORD &USER_ID &TOKEN_BOT + +#Ajout de series aleatoires. +RUN python3.6 generate_config.py series 355480 305089 380654 + + +CMD ["python3", "./bot.py"] \ No newline at end of file