(cwd: string, pull = false)
| 27 | } |
| 28 | |
| 29 | export function dockerComposeUp(cwd: string, pull = false): void { |
| 30 | const cmd = pull ? 'docker compose up -d --pull always' : 'docker compose up -d' |
| 31 | execSync(cmd, { |
| 32 | cwd, |
| 33 | stdio: 'inherit', |
| 34 | }) |
| 35 | } |
| 36 | |
| 37 | export function dockerComposeDown(cwd: string): void { |
| 38 | execSync('docker compose down', { |
no outgoing calls
no test coverage detected