1. Be sure to add ->docker support to the project before generating a docker image each time, select linux
2. A dockerfile will be generated
3. The dockerfile will be automatically generated
But if you build a mirror image in this folder, there will be strange problems,
so we have to change the directory of the solution to perform this operation
and copy the DockerFile to the root directory
Then run the build command so that the docker image can be generated