From cook + book; possibly also a calque from German Kochbuch :de:Kochbuch|
(de)
, from kochen "cook" + Buch "book".