If you're planned to run the dockerfile on cloud for testing. Free way to do is using killerkoda platform. They will provide free instance for 1 hr. After that it will terminated. Otherwise you can use the free trial instances of AWS(make sure to enable zero budget alert)