gulp file no linux

This commit is contained in:
Javi Gallego 2019-01-09 13:04:49 +01:00
parent 3f215c5265
commit 3b1aa7208c
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ async function docker() {
let stamp = `${d.getFullYear()}-${pad(d.getMonth() + 1)}-${pad(d.getDate())}`;
await execP(`docker build --build-arg STAMP=${stamp} -t salix-db ./services/db`);
let runChown = process.platform == 'darwin';
let runChown = process.platform != 'linux';
await execP(`docker run --env RUN_CHOWN=${runChown} -d --name salix-db -p 3306:3306 salix-db`);
if (runChown) await dockerWait();
}