Ensure port in docker expose list is a string

Fixes #8731