gulp docker-build now calls upon docker task
This commit is contained in:
parent
0447d2f521
commit
642f85594e
|
@ -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');
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue