It is good you want to do GOD's will and I encourage you to continue to honor the dietary laws because they are not done away with. The scripture you read is not referring to the dietary laws. This scripture references to bringing the Gentiles into the church. Matthew 10:5, state, These twelve Jesus sent forth, and commanded them, saying, Go not into the way of the Gentiles, and into any city of the Samaritians enter not: But rather to the lost sheep of the house of Israel. The reason he told them this was because Isreal was supposed to be GOD chosen people to give his word and they were to teach it to all other sons and daughter of Adam. Well they had dropped the ball and needed to be taught themselves first. Since it was Jesus plan for all to be saved, he had to bring the other nations into the church. So this scripture is where the Lord prepare his disciplines to accept the first Gentile into the church. Where most people go wrong, is they don't read the entire chapter. If you will start from verse 1, you will get a better understanding.
Acts 10:1-48
There was a certain man in Caesarea called Cornelius, a centurion of the band called the Italian band, A devout man, and one that feared GOD with all his house, which gave much alms to the people, and prayed to GOD always. He saw in a vision evidently about the ninth hour of the day an angel of GOD coming in to him, and saying unto him, Cornelius. And when he looked on him, he was afraid, and said, What is it, LORD? And he said unto him, Thy prayers and thine alms are come up for a memorial before GOD. And now send men to Joppa, and call for one Simon, whose surname is Peter. He lodged with one Simon a tanner, whose house is by the sea side: he shall tell thee what thou oughest to do. And when the angel which spake unto Cornelius was departed, he called two of his household servants, and a devout soldier of them that waited on him continuality; And when he had declared all these things unto them, he sent them to Joppa.
Well, since Jesus had taught his disciplines to go not unto the ways of the gentile, the Jews had nothing to do with other nations. The LORD knew that Peter would not come and teach Cornelius what to do, so he knew he had to prepare Peter and let him know that he had sent Cornelius to him. Otherwise Peter would not have believed him since he told them not to teach them.
The vision Peters had, was GOD way of letting Peter know to go with the men who were coming to get him, because GOD had also granted repentence unto life unto the Gentiles.
If if you will read the whole chapter ten, you will see this, because after people had this dream the spirit abased him to go with them and told him that the three men seeketh him. Acts 10:34-35, Peter states, of a truth I perceive that GOD is no respecter of persons; But in every nation he that feareth him, and workers righteousness, is accepted with him.
At that point he taught Cornelius about Christ. However Peter confirms and say this himself. The word got back to the Apostles and brethren that Peter had kept company with another nation, and they confronted Peter about it. Peter responded in Acts 11:5-18: I was in the city of Joppa praying; and in a trance I saw a vision, a certain vessel descend, as it had been a great sheet, let down from heaven by four corners; and it came even to me: Upon the which when I had fastened mine eyes, I considered, and saw fourfooted beasts of the earth, and wild beasts, and creeping things, and fowls of the air. And I heard a voice saying unto me, arise, Peter; slay and eat. But I said, Not so, Lord: for nothing common or unclean hath at any time entered into my mouth. But the voice answered me again from heaven, What GOD hath cleansed, that call not thou common. And this was done three times and all drawn up again into heaven. And, behold, immediately there were three men already come unto the house where I was, sent from Caesarea unto me. And the spirit bade me to go with them, nothing doubting. Moreover these six brethren accompanied me, and we entered into the man's house: And he shewed us how he had seen an angel in his house, which stood and said unto him, Send men to Joppa, and call for Simon, whose surname is Peter; Who shall tell thee words, whereby thou and all thy house shall be saved. And as I speak, the Holy Ghost fell on them, as on us at the beginning. Then remembered I the word of the LORD, how that he said, John indeed baptized with water; but ye shall be baptized with the Holy Ghost. Forasmuch then as GOD gave them the like gift as he did unto us, who believed on the Lord Jesus Christ; what was I, that I could withstand GOD. When they heard these things, they held their peace, and glorified GOD, saying, Then hath GOD also to the Gentiles granted repentence unto life.
I hope this help.....