lumenInit/resources/build/manual.sh

18 lines
618 B
Bash
Raw Normal View History

2019-09-26 14:06:03 +00:00
cd ../../
rm -r -f storage/logs/l*
chmod uog+rwx storage/logs
rm -r -f vendor
composer install --no-dev
docker build -t docker.keks.cloud/sampleapp/nginx:latest -f resources/docker/Dockerfile-nginx .
docker build -t docker.keks.cloud/sampleapp/fpm:latest -f resources/docker/Dockerfile-fpm .
docker build -t docker.keks.cloud/sampleapp/queueworker:latest -f resources/docker/Dockerfile-queueworker .
docker push docker.keks.cloud/sampleapp/nginx:latest
docker push docker.keks.cloud/sampleapp/fpm:latest
docker push docker.keks.cloud/sampleapp/queueworker:latest
rm -r -f vendor
composer install
cd resources/build