mirror of
https://git.coop/cotech/website.git
synced 2024-12-22 10:35:24 +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:
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user