diff options
author | 2024-07-16 19:07:24 +0100 | |
---|---|---|
committer | 2024-07-16 19:07:36 +0100 | |
commit | 30562f0476f9d0b53dbcd304b12e6d51f2ba9153 (patch) | |
tree | 48c5723868e89b52cfccdc86f7b7692cbb0da183 | |
parent | Only bind to loop back address, rather than all interfaces (diff) |
Simplify the docker compose build config
-rw-r--r-- | docker-compose.yml | 4 |
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" |