Explorar el Código

Ajouter 'docker/ Dockerfile'

master
TheBidouilleur hace 2 meses
padre
commit
dd60fb5187
Se han modificado 1 ficheros con 17 adiciones y 0 borrados
  1. +17
    -0
      docker/ Dockerfile

+ 17
- 0
docker/ Dockerfile Ver fichero

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

Cargando…
Cancelar
Guardar