aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2024-07-16 19:07:24 +0100
committerGravatar Chris Lovering <[email protected]>2024-07-16 19:07:36 +0100
commit30562f0476f9d0b53dbcd304b12e6d51f2ba9153 (patch)
tree48c5723868e89b52cfccdc86f7b7692cbb0da183
parentOnly bind to loop back address, rather than all interfaces (diff)
Simplify the docker compose build config
-rw-r--r--docker-compose.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 613ea0c..a9363f8 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -21,9 +21,7 @@ services:
- "127.0.0.1:6379:6379"
backend:
- build:
- context: .
- dockerfile: Dockerfile
+ build: .
command: ["uvicorn", "--reload", "--host", "0.0.0.0", "backend:app"]
ports:
- "127.0.0.1:8000:8000"