I could not find in the App Platform documentation whether .dockerignore files are respected. Please advise.

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

Hey @ReWild 👋

The App Platform does respect .dockerignore files.

Thanks for surfacing the lack of documentation on this; we’ll remedy that ASAP!

  • Thanks for clarifying! What about having multiple .dockerignore files? Same as we can have multiple Dockerfiles and specify which one to use, can we specify which dockerignore file to use as well in the yaml/json file?

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