@basetenlabs/sandbox - v0.3.0
    Preparing search index...

    Function defaultImageIgnoreFile

    • Reports whether a path is left out of a pushed build context by the default rules, applied when the directory has no .dockerignore. Its result is the same as this .dockerignore:

      **/.blaxel
      **/.env.build
      **/.docker
      **/.git
      **/dist
      **/.venv
      **/venv
      **/node_modules
      **/.env
      .env*
      **/.next
      **/__pycache__

      So each of those names is left out at any depth, as a file or as a directory with everything in it, and a name starting with .env is left out at the root. To extend the defaults, copy them into a .dockerignore.

      Parameters

      Returns boolean