I get dreams about things I quit all the time, especially right after quitting. I quit smoking cigarettes seven years ago and had those dreams occasionally. I had my first drinking dream, and I'm one or two months into recovery. It's part of the process. Your subconscious is acting out because your conscious mind is off-duty.
Just be glad that you woke up and it was a dream, that you haven't compromised your sobriety, and know that as a reward, you aren't waking up hungover