Glass is good because it doesn't retain odours or oils from previous usage. Otherwise a plastic snap-lock bag with the air squeezed out is ideal. Do not freeze or refrigerate coffee. Purchase your beans fresh and use them within two weeks for peak taste. We recommend you purchase coffee weekly and then grind the beans immediately before brewing because ground coffee rapidly loses its flavour, no matter how it is stored.
Whole beans stay fresh longer than ground coffee.
However, it is recommended that coffee be ground nearest to the time of brewing. Be sure that the coffee is fresh at the start. These are some of my favorite places to go on the net. The coffee links have some great deals and I am sure you are familiar with them. The wine and the cigars are the best.