Wedding will be on Poland civil office.
That is enough. There's no need to have the legal part of a wedding in two countries. If Morocco has any unusual laws relating to overseas ,marriages, you'd need to check with Moroccans, however many couples from different countries get married and do not have two ceremonies/registrations in different countries.
A weddinfg (the registration part) in Poland takes place in the Urząd Stan Cywilnego. It is a government office and there is a small ceremony (not religious) where the couple make promises to be together and then sign a document. It is like a nikah ceremony however it is in an office. When the document is signed, you are married under Polish law.