Updated run.sh

This commit is contained in:
Luiz F Picolo 2022-06-15 23:54:34 -04:00
parent f92c8b0039
commit 6ec522b007

9
run.sh
View File

@ -1,13 +1,10 @@
#!/bin/sh #!/bin/sh
echo '--- run yarn install'
yarn --cwd public/
echo '--- run bundle install'
bundle install
echo '--- create docker image and up it' echo '--- create docker image and up it'
docker-compose up -d --build docker-compose up -d --build
echo '--- run yarn install'
docker-compose run app yarn --cwd public/
echo '--- update cronjob' echo '--- update cronjob'
docker-compose run app whenever -w docker-compose run app whenever -w