added check command to check if a container returns a response from curl
updated deploy to use check