Skip to content

Commit

Permalink
fix: use docker compose instead of docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
JackHamer09 committed Jan 13, 2024
1 parent f44ceb9 commit 203955a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/docker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const checkDockerInstallation = async () => {
};

const getComposeCommandBase = (dockerComposePath: string, projectDir?: string) => {
return `docker-compose -f ${dockerComposePath} --project-directory ${projectDir ?? path.dirname(dockerComposePath)}`;
return `docker compose -f ${dockerComposePath} --project-directory ${projectDir ?? path.dirname(dockerComposePath)}`;
};
const createComposeCommand =
(action: string) => async (dockerComposePath: string, projectDir?: string, additionalArgs?: string[]) => {
Expand Down

0 comments on commit 203955a

Please sign in to comment.