We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f324eb9 commit d8e4f87Copy full SHA for d8e4f87
docs/instalacion_entorno.rst
@@ -49,3 +49,18 @@ Para correr el bot ejecutá:
49
50
Y listo! Tu bot está corriendo en tu máquina, esperando que alguien le escriba por telegram.
51
Para probarlo buscalo en telegram y mandale el comando `/start`
52
+
53
+Ejecutar en un entorno dockerizado
54
+__________________________________
55
56
+Para ejecutar el bot primero contruya la imagen:
57
58
+.. code-block:: bash
59
60
+ docker build -t pycamp_bot:latest .
61
62
+Ahora inicie el contenedor:
63
64
65
66
+ docker run -e "TOKEN=TOKEN_PERSONAL" -e "PYCAMP_BOT_MASTER_KEY=KEY" -v ./:/pycamp/telegram_bot --name pycamp_telegram_bot pycamp_bot
0 commit comments