diff --git a/Dockerfile b/Dockerfile index 599c2949..6f0d14c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,4 +31,4 @@ COPY config/hdm.yml.template $APP_HOME/config/hdm.yml RUN bundle check || (bundle config set --local without 'development test' && bundle install) -CMD ["/hdm/bin/entry.sh", "${HDM_PORT}", "${HDM_HOST}"] +CMD ["sh", "-c", "/hdm/bin/entry.sh ${HDM_PORT} ${HDM_HOST}"] diff --git a/bin/entry.sh b/bin/entry.sh index ab7a99ab..5d08e424 100755 --- a/bin/entry.sh +++ b/bin/entry.sh @@ -10,5 +10,5 @@ if [[ "${DEVELOP}" -eq 1 ]]; then bundle exec rails db:seed ./bin/fake_puppet_db & fi - -bundle exec rails server -b "${HDM_HOST}" -p "${HDM_PORT}" +# shellcheck disable=SC2086 +bundle exec rails server -b $HDM_HOST -p $HDM_PORT