Merge branch 'dev' of http://git.verdnatura.es/salix into dev
This commit is contained in:
commit
3eed1e2124
|
@ -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}'],
|
||||
|
|
Loading…
Reference in New Issue