This bottle looking like a mortar mine should be printed on a 3D printer, threads synchronised ( the one on the cap is 0,3mm smaller in diameter with same pitch, so there should be no issues screwing it back and forth with ease ) .
Cap should be printed with a rounded hole to the heated bed, bottle should be printed laying on the flat surface.
I've also made round groove for sealing with O ring ( metric 14x19x2,5 ).
Keep on mind that both parts should be printed from materials able to withstand fluids and solids you intend to put inside this bottle.