From 4e0850d0edf4f9d7c6da338a82ccbb24d4bd2f6e Mon Sep 17 00:00:00 2001 From: Wedge Date: Tue, 2 Mar 2021 18:02:46 +0300 Subject: [PATCH] Fixes --- entrypoint.sh | 2 ++ entrypoint_sidekiq.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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