API/docker-compose-test.yml

11 lines
236 B
YAML

version: '3.7'
services:
app:
build: .
env_file:
- .env
volumes:
- ./app:/app/app
- /var/run/docker.sock:/var/run/docker.sock
command: pytest app/test/test_main.py -s