WIP: 5739-dockerRefactor #1822

Draft
alexm wants to merge 67 commits from 5739-dockerRefactor into dev
2 changed files with 3 additions and 2 deletions
Showing only changes of commit da3fb0a13d - Show all commits

View File

@ -14,8 +14,6 @@ services:
context: . context: .
dockerfile: front/Dockerfile dockerfile: front/Dockerfile
target: test target: test
depends_on:
- back
back: back:
image: back image: back
restart: always restart: always

View File

@ -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 docker-compose -p salix-testing -f docker-compose.test.yml build $1
if [ $1 = "back" ]; then if [ $1 = "back" ]; then
docker-compose -p salix-testing -f docker-compose.test.yml build db docker-compose -p salix-testing -f docker-compose.test.yml build db