This code allows the ability to build the gin binary outside of the working directory. In some circumstances, this is very useful. For example, when running docker on a windows instance, and the code for the container lives on a windows drive. The windows OS will not allow the binary to be re-built as long as it is still running. Therefore, building on a linux native folder inside the container is preferable.
This code allows the ability to build the gin binary outside of the working directory. In some circumstances, this is very useful. For example, when running docker on a windows instance, and the code for the container lives on a windows drive. The windows OS will not allow the binary to be re-built as long as it is still running. Therefore, building on a linux native folder inside the container is preferable.