From c20855ae6e4c9b3086c133a844306f44165534c5 Mon Sep 17 00:00:00 2001 From: Space-Banane Date: Wed, 21 Jan 2026 23:15:54 +0100 Subject: [PATCH] fix: add git pull to command for updated dependencies in docker-compose --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 253b61f..c442d3f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,7 @@ services: working_dir: /app volumes: - ./:/app - command: sh -c "if [ ! -f .env ]; then echo \".env file not found! Please create one based on .env.example and set your DISCORD_BOT_TOKEN.\"; exit 1; fi && go mod tidy && go run ." + command: sh -c "git pull && if [ ! -f .env ]; then echo \".env file not found! Please create one based on .env.example and set your DISCORD_BOT_TOKEN.\"; exit 1; fi && go mod tidy && go run ." env_file: - .env \ No newline at end of file