You could always put it under the AGPL 3 (or later). Your prospective customers would probably still want to buy a less restrictive license from you, because they are irrationally afraid of the GPL, especially GPL3, and even more especially the AGPL 3. But free software would still benefit from the source code being free.
You can open source it, and it still be a commercial product.