diff --git a/Procfile b/Procfile index 60719ef6..4ff759d2 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: CMD_DB_URL="$DATABASE_URL" CMD_PORT="$PORT" npm run start +web: ./bin/heroku_start.sh diff --git a/bin/heroku_start.sh b/bin/heroku_start.sh new file mode 100755 index 00000000..fa9bb6c3 --- /dev/null +++ b/bin/heroku_start.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +set -euo pipefail + +CMD_DB_URL="$DATABASE_URL" CMD_PORT="$PORT" npm run start