▲ | quantadev 3 days ago | |||||||
Seems like it makes more sense to build on the build machine, and then just copy images out to PROD servers. Having source code on PROD servers is generally considered bad practice. | ||||||||
▲ | jdsleppy 3 days ago | parent [-] | |||||||
The source code does not get to the filesystem on the prod server. It is sent to the Docker daemon when it builds the image. After the build ends, there's only the image on the prod server. I am now convinced that this is a hidden docker feature that too many people aren't aware of and do not understand. | ||||||||
|