From 8e708c95967f33027730a6ad484b4e43dc6c365a Mon Sep 17 00:00:00 2001 From: Jimmy Date: Sat, 4 Dec 2021 01:00:30 +1300 Subject: [PATCH] Add dev compose file --- docker-compose-dev.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docker-compose-dev.yml diff --git a/docker-compose-dev.yml b/docker-compose-dev.yml new file mode 100644 index 0000000..62a4ea3 --- /dev/null +++ b/docker-compose-dev.yml @@ -0,0 +1,14 @@ +version: '3.7' + +services: + app: + build: . + env_file: + - .env + ports: + - 8000:8000 + tty: true + stdin_open: true + volumes: + - ./app:/app/app + command: uvicorn app.main:app --host 0.0.0.0 --reload \ No newline at end of file