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.

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.

×
1 answer

@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.

Submit an Answer