diff --git a/entrypoint.sh b/entrypoint.sh index b820601d5..27e198de8 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,6 +1,8 @@ #!/bin/sh set -ex +cd /app/rosa-build + if [ -f /MIGRATE ] then bundle exec rake db:migrate diff --git a/entrypoint_sidekiq.sh b/entrypoint_sidekiq.sh index 28f4f6fbd..acc566684 100755 --- a/entrypoint_sidekiq.sh +++ b/entrypoint_sidekiq.sh @@ -1,6 +1,6 @@ #!/bin/sh set -ex -cd /rosa-build +cd /app/rosa-build bundle exec sidekiq -q iso_worker_observer -q low -q middle -q notification -q publish_observer -q rpm_worker_observer -c 5 -e production