There is no prohibition against wine, beer or other alcohol in most sects.
Mixed faith sects or specific alchemy schools may have their own restrictions. These are special situations and don’t represent the bulk of Taoist practice.
Through most of Chinese history, people consumed watered wine as a primary beverage (a mix of water and wine). As with most old cultures, this was done both to reduce the risk of drinking contaminated water and to serve as a general health tonic.
Regular drunkness is strongly frowned on as it demonstrates a poor level of spiritual development, and is considered a life error known as “Saturation of the Senses.”