Skip to content

Commit

Permalink
Fix compose down command
Browse files Browse the repository at this point in the history
  • Loading branch information
medihack committed Jul 24, 2024
1 parent f6454b5 commit c3ab047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adit_radis_shared/invoke_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def compose_down(
ctx: Context, env: Environments = "dev", cleanup: bool = False, profile: list[str] = []
):
"""Stop containers in specified environment"""
cmd = f"{build_compose_cmd(env, profile)} --profile {profile} down"
cmd = f"{build_compose_cmd(env, profile)} down"
if cleanup:
cmd += " --remove-orphans --volumes"
ctx.run(cmd, pty=True)
Expand Down

0 comments on commit c3ab047

Please sign in to comment.