Add test compose file
This commit is contained in:
parent
8e708c9596
commit
b9263eda02
|
@ -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
|
Loading…
Reference in New Issue