aswi2020sebela-gitlab/scripts/build.sh @ bc20fbd9
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 |
docker-compose exec -T php-fpm /bin/sh -c "cd /var/www/symfony && npm install && npm link webpack && npm run build" |
6 |
#python module initiation
|
7 |
docker-compose exec -T crawler /bin/sh -c "cd /src && python docker_prepare_structure.py && python force_update_datasets.py all" |