Skip to content

Commit

Permalink
fixed no comma after --rm
Browse files Browse the repository at this point in the history
  • Loading branch information
hem9984 committed Jan 22, 2025
1 parent 45b464c commit a29bb49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/functions/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ async def run_locally(input: RunCodeInput) -> RunCodeOutput:
return RunCodeOutput(output=build_process.stderr or build_process.stdout)

# Then run the container
run_cmd = ["docker", "run", "--rm" "myapp"]
run_cmd = ["docker", "run", "--rm", "myapp"]
run_process = subprocess.run(run_cmd, capture_output=True, text=True)
if run_process.returncode != 0:
return RunCodeOutput(output=run_process.stderr or run_process.stdout)
Expand Down

0 comments on commit a29bb49

Please sign in to comment.