Thailand will ban recreational use of marijuana by the end of this year but continue to allow its use for medical purposes, the health minister told Reuters in an interview.