diff --git a/src/templates/modules/documentation/advanced/Deployment.vue b/src/templates/modules/documentation/advanced/Deployment.vue index af9e0e5..d124861 100644 --- a/src/templates/modules/documentation/advanced/Deployment.vue +++ b/src/templates/modules/documentation/advanced/Deployment.vue @@ -41,15 +41,58 @@

Then open a terminal in the root folder of your application and run the following command :

+ +
+

Deploy with Docker

+

Docker is free software for launching applications in isolated containers.

+
+

Learn more:

+ + Docker Documentation + +
+ + + + +

Create a root file named Dockerfile.

+ +

Then open a terminal in the root folder of your application and run the following command :

+ +

Use docker-compose to automate the start command of your bot with the following content :

+ +

Finally, you can run your image inside a container with the following command :

+ + + + + +

To stop the container, run the following command :

+ +

To stop see the log of your discord bot, run the following command :

+ +