Updated run.sh

This commit is contained in:
Luiz F Picolo 2022-06-16 00:09:42 -04:00
parent c9184a687a
commit 483e38caab
2 changed files with 2 additions and 12 deletions

View File

@ -12,14 +12,3 @@ services:
- "4567:4567"
volumes:
- .:/code
cron:
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
tty: true
container_name: cron
command: whenever -i
volumes:
- .:/code

1
run.sh
View File

@ -8,3 +8,4 @@ docker-compose run app yarn --cwd public/
echo '--- update cronjob'
docker-compose run app whenever -w
docker-compose run app sh /etc/init.d/cron restart