@pitaj and @baris , thanks for your help.
@baris adding --series did let the image finish building, but then it would get the error when running with ./nodebb start
@pitaj, I changed the pgBouncer (connection pool) to "session" mode instead of "transaction" mode in the DigitalOcean settings and that seems to have allowed it to eventually run.
I say "eventually" run because the first time I tried after making the change I got this error:
error: error: prepared statement "getSortedSetRangeWithScoresAsc" already exists
the second time I got this error:
error: error: prepared statement "getObject" already exists
and the third time it ran successfully!
At this point I have started and stopped the docker image a couple times and it seems to be stable.
Thanks for your help guys!