5
0
mirror of https://git.coop/cotech/website.git synced 2024-11-21 22:33:05 +00:00

Use environment variable for bundle env

So it works for standalone commands too
This commit is contained in:
Nick Sellen 2018-12-16 10:20:32 +00:00
parent 79ac451b4a
commit b1c23ea9f3

View File

@ -12,10 +12,12 @@ services:
jekyll:
image: ruby:2.5.3
working_dir: /src
environment:
BUNDLE_PATH: /vendor
command: >
sh -c '
cd /src &&
bundle --path /vendor &&
bundle &&
bundle exec jekyll build --destination /site --watch
'
volumes: