gulp file no linux
This commit is contained in:
parent
3f215c5265
commit
3b1aa7208c
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue