Add test compose file

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

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

@ -0,0 +1,14 @@
version: '3.7'
services:
app:
build: .
env_file:
- .env
ports:
- 8000:80
tty: true
stdin_open: true
volumes:
- ./app:/app/app
command: pytest app/test/test_main.py -s