An explosion rocked a Belize-registered ship in the final stages of repair at a dock, injuring 15 crew members and workers on board, officials said.