aswi2020sebela-gitlab/scripts/build.sh @ f7ab6abb
1 |
#!/bin/bash
|
---|---|
2 |
docker-compose down |
3 |
docker-compose -f docker-compose.yml -f docker-compose-prod.yml up --build -d |
4 |
docker-compose exec -T php-fpm composer install --no-interaction --working-dir=/var/www/symfony --no-dev |
5 |
#python module initiation
|
6 |
docker-compose exec -T crawler /bin/sh -c "cd /src && python docker_prepare_structure.py && echo '-all' | python force_update_datasets.py" |