It should be loads of time but on separate tickets you are always taking a risk. if you miss your Ryanair flight (and don't forget to check in online and print your boarding pass) that's it, you're on your own.
There is a transfer channel, but I'm afraid you won't be able to use it. Assuming you are not travelling on an EU/EEA passport, you will have to report to the
Ryanair document check desk - which is landside - in order to have your boarding pass stamped for travel. If you attempt to board any Ryanair flight with a non-EU/EEA passport, and your boarding pass does not have this stamp, you will be turned away.
You cannot remain airside and travel onwards with Ryanair unless you have an EU/EEA passport. it doesn't matter how straightforward and simple your immigration status is, or whether you have a current valid visa in your passport that you can show the boarding agent - a non-EU/EEA passport always requires a document check stamp on the boarding pass - this is non-negotiable. So you must go landside first, clearing immigration and customs en route; report to the Ryanair document check desk; then clear security.
Aer Lingus flies to Lisbon; you could book all travel on a single ticket; meaning that Aer Lingus would protect you in case of irrops; and you could follow the transfer channel and remain airside. (Document check is a procedure used only by Ryanair. And Ryanair applies this procedure on ALL flights - even domestic flights!!!)
If you check luggage, this connection is not viable. You will have to wait for your luggage at DUB, clear security, and check in with Ryanair. Ryanair stick rigidly to the luggage check-in deadlines, and it is almost certain you will miss the cutoff.