gulp docker

This commit is contained in:
Vicente Falco 2018-02-07 15:02:16 +01:00
parent 17e596947f
commit d06ffba8b9
1 changed files with 3 additions and 3 deletions

View File

@ -118,10 +118,10 @@ gulp.task('docker-compose', async () => {
let services = await getServices();
for (let service of services) {
let dockerFile = `${__dirname}/Dockerfile`;
let dockerFile = `${__dirname}/${service.name}/Dockerfile`;
if (await fs.exists(`./services/${service.name}/Dockerfile`))
dockerFile = 'Dockerfile';
// if (await fs.exists(`./services/${service.name}/Dockerfile`))
// dockerFile = 'Dockerfile';
composeYml.services[service.name] = {
environment: ['NODE_ENV=${NODE_ENV}'],