Skip to content

Commit

Permalink
Add a dev volume mount and enable auto reload in compose
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLovering committed Sep 23, 2022
1 parent 3bc55d3 commit 6ac735f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ services:
LOCATION: "/ducks"
volumes:
- ./ducks:/ducks
- .:/app
command: ["run", "uvicorn", "api.main:app", "--reload", "--host", "0.0.0.0", "--port", "80"]

0 comments on commit 6ac735f

Please sign in to comment.