I use Folgers Coffee Singles for backpacking. They are basically tea bags filled with ground coffee instead of tea leaves. The resulting coffee tastes much better than instant, though not as good as my normal coffee. Here's an Amazon link, but they are also available at many grocery stores:

https://www.amazon.com/Folgers-Coffee-Singles-Classic-Roast-19/dp/B07BFHNPGK