diff --git a/docker-compose.test.yml b/docker-compose.test.yml index 596d16c0c..8c3b094ee 100644 --- a/docker-compose.test.yml +++ b/docker-compose.test.yml @@ -14,8 +14,6 @@ services: context: . dockerfile: front/Dockerfile target: test - depends_on: - - back back: image: back restart: always diff --git a/runTest.sh b/runTest.sh index e59a4d639..3691ed079 100644 --- a/runTest.sh +++ b/runTest.sh @@ -1,3 +1,6 @@ +if [ $1 = "front" ]; then + docker-compose -p salix-testing -f docker-compose.test.yml build back +fi docker-compose -p salix-testing -f docker-compose.test.yml build $1 if [ $1 = "back" ]; then docker-compose -p salix-testing -f docker-compose.test.yml build db