From f417793288516d91c050b146f2e8bf4343f9733f Mon Sep 17 00:00:00 2001 From: rubyowo Date: Tue, 27 Feb 2024 18:18:40 +0000 Subject: [PATCH] feat: new instructions (#27) * feat: new instructions * fix: use --build flag --- docs/setup/operating-systems/linux-docker.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/setup/operating-systems/linux-docker.md b/docs/setup/operating-systems/linux-docker.md index 51ddb7c..9c8cfa8 100644 --- a/docs/setup/operating-systems/linux-docker.md +++ b/docs/setup/operating-systems/linux-docker.md @@ -172,9 +172,11 @@ This creates a folder called Zeppelin and clones the bot code there. - Do not use `$'"(){}#` in the password 5. When you are done editing, press Ctrl-X, then Y, then Enter to save and exit Nano. -## Start the bot +## Build and Start the bot -`docker compose -f docker-compose.production.yml up -d` +`docker compose -f docker-compose.production.yml up -d --build` + +**NOTE**: Make sure to run the above command every time you update/change the source code. The bot will pull images and build other images, create the containers, and start them. It will probably take about a minute or two to start.