Skip to content

Commit 8792918

Browse files
committed
Iniciar entorno con docker
1 parent 4370157 commit 8792918

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/source/instalacion_entorno.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,18 @@ Para ejecutar el bot primero contruya la imagen:
5858
5959
docker build -t pycamp_bot:latest .
6060
61-
Ahora inicie el contenedor:
61+
Ahora inicie el contenedor por primera vez:
6262

6363
.. code-block:: bash
6464
6565
docker run -e "TOKEN=TOKEN_PERSONAL" -e "PYCAMP_BOT_MASTER_KEY=KEY" -v ./:/pycamp/telegram_bot --name pycamp_telegram_bot pycamp_bot
6666
67+
Luego puede arrancar con:
68+
69+
.. code-block:: bash
70+
71+
docker start -ia pycamp_telegram_bot
72+
6773
Para ejecutar los test:
6874

6975
.. code-block:: bash

0 commit comments

Comments
 (0)