mirror of
https://git.coop/cotech/website.git
synced 2024-11-25 08:03:06 +00:00
Use environment variable for bundle env
So it works for standalone commands too
This commit is contained in:
parent
79ac451b4a
commit
b1c23ea9f3
@ -12,10 +12,12 @@ services:
|
|||||||
|
|
||||||
jekyll:
|
jekyll:
|
||||||
image: ruby:2.5.3
|
image: ruby:2.5.3
|
||||||
|
working_dir: /src
|
||||||
|
environment:
|
||||||
|
BUNDLE_PATH: /vendor
|
||||||
command: >
|
command: >
|
||||||
sh -c '
|
sh -c '
|
||||||
cd /src &&
|
bundle &&
|
||||||
bundle --path /vendor &&
|
|
||||||
bundle exec jekyll build --destination /site --watch
|
bundle exec jekyll build --destination /site --watch
|
||||||
'
|
'
|
||||||
volumes:
|
volumes:
|
||||||
|
Loading…
Reference in New Issue
Block a user