Skip to content

Commit 57445ef

Browse files
committed
fix: starting parent folder docker-compose.yml when no yml
1 parent d6c1ba0 commit 57445ef

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cli/src/commands/deploy.command.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@ export const deployCommand = new Command('deploy')
5858
}
5959

6060
shell.echo(`Rebuilding docker-compose.yml...`);
61-
if (shell.exec(`${root ? `cd ${root} &&` : ''} docker-compose up -d --build`).code !== 0) {
61+
if (
62+
shell.exec(
63+
`${root ? `cd ${root} &&` : ''} docker-compose -f ./docker-compose.yml up -d --build`
64+
).code !== 0
65+
) {
6266
cli.error(`Error: docker-compose rebuild failed`);
6367
}
6468

0 commit comments

Comments
 (0)