Postgres in a container

Hello,

I’m looking for building an OCI container for Docker containing Postgresql only. Upon running, the database service port 5432 must be listening. I’ve been trying many things, without success.

Do you have an example of such a thing under the hand?

Thanks