From 442fba2fb30b8354d06d1a02e666a0baf4d1eb32 Mon Sep 17 00:00:00 2001 From: Paul Boeck Date: Mon, 8 Jan 2024 20:59:40 +0100 Subject: [PATCH] Use bundle exec in docker compose In is recommended to use bundle exec jekyll serve when using a bundler. This enforces using the bundled gem instead of a global one. --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 723402e..a994ff6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,6 +10,6 @@ services: - ./vendor/bundle/:/usr/local/bundle ports: - "4000:4000" - command: jekyll serve --trace --host 0.0.0.0 --watch --incremental --config _config.yml + command: bundle exec jekyll serve --trace --host 0.0.0.0 --watch --incremental --config _config.yml environment: - JEKYLL_ENV=development