gulp docker-build now calls upon docker task

This commit is contained in:
Carlos Jimenez 2018-08-01 09:45:08 +02:00
parent 0447d2f521
commit 642f85594e
1 changed files with 3 additions and 1 deletions

View File

@ -441,7 +441,7 @@ gulp.task('docker', async () => {
/** /**
* Rebuilds the docker image, if already exists, destroys and * Rebuilds the docker image, if already exists, destroys and
* rebuild it. * rebuild it. calls upon docker task afterwards.
*/ */
gulp.task('docker-build', async () => { gulp.task('docker-build', async () => {
try { try {
@ -456,6 +456,8 @@ gulp.task('docker-build', async () => {
log('Building image...'); log('Building image...');
await execP('docker build -t dblocal:latest ./services/db'); await execP('docker build -t dblocal:latest ./services/db');
await runSequenceP('docker');
}); });
/** /**