Phase diagram for a copolymer in a micro-emulsion