Fencing tall enuf that the chickens won't fly over it,strongenuf to keep dogs out.
You could use plastic netting (like sold in rolls at Walmart. Just pound a few metal posts in the ground and string the netting up. When the gardening weather is past pull the stakes up and roll the netting up for use next year.
The plastic netting will keep the chickens in, but the dogs...if they are harassing your live stock..consider them a nucance animal and take to the pound. If chipped the owner will get them back...in a few days. And will have to pony up the “bail money”
I have good luck w chicken wire around my yard to keep donkeys out. Chickens don’t fly over it dogs can’t come in.and it’s cheap and you could hardly see it.