Pass the env vars in the way docker expects.

This commit is contained in:
Page 2014-04-28 23:22:01 +01:00 committed by Pablo Carranza Vélez
parent a51a648267
commit 1b74e0cca5

View File

@ -69,7 +69,7 @@ exports.start = start = (app) ->
Cmd: ['/bin/bash', '-c', '/start']
Volumes:
'/dev': {}
Env: app.env
Env: _.map app.env, (v, k) -> k + '=' + v
)
.then (container) ->
console.log('Starting container:', app.imageId)