forked from autonomic-cooperative/cotech-website
		
	Use environment variable for bundle env
So it works for standalone commands too
This commit is contained in:
		@ -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:
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user