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