Skip to content

Commit

Permalink
Remove container after stopping
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Karamuth committed Oct 25, 2024
1 parent f0baa73 commit 4fe8be4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ansible/roles/django/files/deploy-app.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ def main():

subprocess.run(["docker", "container", "stop", "simple_django_app"])

subprocess.run(["docker", "container", "rm", "simple_django_app"])

subprocess.run(
[
"docker",
Expand Down

0 comments on commit 4fe8be4

Please sign in to comment.