Can a pregnant woman drink a small glass of wine?

I know you are supposed to avoid alcoholic beverages, but I thought I heard somewhere that it was o.k. to occasionally consume a small glass of wine. I’m not a drinker, but have been craving the taste.