That will work.
Containers are convenient because they work locally and you are likely using a containerized solution to deploy to production anyways.