Question

App Spec file to specify a .dockerignore file to use

Same as we can specify the Dockerfile to use, can we also specify an dockerignore file? When using multiple Dockefiles, each one can have its own dockerignore file for optimal build speed. Could you please make it configurable through the App Spec? Many thanks.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@ReWild 👋

We don’t support configuring additional dockerignore files via the app spec today. In the future, after this upstream issue is resolved, we’ll support the common convention of Dockerfile.dockerignore style dockerignore files, where Dockerfile can be your custom dockerfile_path from the app spec.