services:    
    unit-tests:
        profiles:
            - unit-tests
        build:
            context: .
            target: tests
        volumes:
            - ./reports:/var/app/reports
            - ./sonar-classes:/var/app/sonar-classes
        user: root
        command:
            - "./test_scripts/run-unit-tests-and-style-check.sh"
