I have an executable that performs a number of tasks such as:
- Copy .NET source code to a directory
- Run another executable that modifies the source code
- Run MSBuild to build the code
- Publish the code
- Run add-migration to create database
- Run another executable that populates the database from files etc.
I've set this up on my laptop, and everything works correctly, and now I want to publish this to the cloud.
Is it possible to create a docker image that does all these kinds of things, and run it on Azure Container Instances? Or do I need to run this kind of system on a VM?
I'm new to docker so don't know what it's capable of, but if I can run it on ACI as-needed that would be great, so I'm not paying for a VM 24/7 when this process only happens a few times a day