From 743950c423dd3029914c869eadd2685253057c61 Mon Sep 17 00:00:00 2001 From: Space-Banane Date: Wed, 21 Jan 2026 23:05:05 +0100 Subject: [PATCH] fix: wrap command in sh -c for proper execution 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 1642e7a..253b61f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,7 @@ services: working_dir: /app volumes: - ./:/app - command: 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 "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