From d06ffba8b93d290f26aad288911c56aa7d630e7d Mon Sep 17 00:00:00 2001 From: Vicente Falco Date: Wed, 7 Feb 2018 15:02:16 +0100 Subject: [PATCH] gulp docker --- gulpfile.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 3e36a02c2..311aa2131 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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}'],