Skip to main content

dockerignore

Function dockerignore 

Source
pub fn dockerignore(d: &Deployment, source: &str) -> String
Expand description

The build context: nothing but the declared inputs. Everything is excluded and each input is let back in, so a file that appears in the repository tomorrow does not appear in the image tomorrow.