How to build and publish sqlproj with docker?

I have a .sqlproj database project in my solution. I’m new in docker using. I need to build (.dacpac) and then publish my database project in docker container but I really don’t image how i can do this. I’ve found a few solutions of this issue ( ) but I haven’t found any particular samples with this docker image using and I can’t reuse it. Is there anyone who is familiar with this issue?

Source: StackOverflow