Add dev compose file

This commit is contained in:
Jimmy 2021-12-04 01:00:30 +13:00
parent 850648dfe3
commit 8e708c9596
1 changed files with 14 additions and 0 deletions

14
docker-compose-dev.yml Normal file
View File

@ -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