Skip to content

Commit

Permalink
--no-build needs to go after "up" (dagster-io#23177)
Browse files Browse the repository at this point in the history
need to add --no-build after compose, tested locally with the cli
  • Loading branch information
neilfulwiler committed Jul 23, 2024
1 parent 323cf79 commit e070dd7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,16 @@ def docker_compose_up(docker_compose_yml, context, service, env_file, no_build:
if env_file:
compose_command += ["--env-file", env_file]

if no_build:
compose_command += ["--no-build"]

compose_command += [
"--file",
str(docker_compose_yml),
"up",
"--detach",
]

if no_build:
compose_command += ["--no-build"]

if service:
compose_command.append(service)

Expand Down

0 comments on commit e070dd7

Please sign in to comment.