Seloncourt is a commune in the Doubs department in the Bourgogne-Franche-Comté region in eastern France.