Bottle is a worthful thing and it can contain any pure and halal thing as it may contain wine. Hence it is lawful to manufacture the bottle and sell it in itself though the buyer sells wine in it. But in the above mentioned case being a Muslim it is not better for you since you know that wine shall be sold in it; thus it in some way is helping in sins. Hence you should avoid from it in future. It is recorded in Dur al-Mukhtar:
وقدمنا ثمة معزيا للنهر أن ما قامت المعصية بعينه يكره بيعه تحريما، وإلا فتنزيها، فليحفظ توفيقا – إلى آخر….رد المحتار ، 9/ 561، ط زكريا)
Allah knows Best!
Darul Uloom Deoband