/ services / site / .earthlyignore
.earthlyignore
 1  .env.*
 2  .secret.*
 3  
 4  # build output
 5  dist/
 6  # generated types
 7  .astro/
 8  
 9  # dependencies
10  node_modules/
11  
12  # logs
13  npm-debug.log*
14  yarn-debug.log*
15  yarn-error.log*
16  pnpm-debug.log*
17  
18  
19  # environment variables
20  .env
21  .env.production
22  
23  # macOS-specific files
24  .DS_Store
25  
26  
27  # This file excludes paths from the Docker build context.
28  #
29  # By default, Docker's build context includes all files (and folders) in the
30  # current directory. Even if a file isn't copied into the container it is still sent to
31  # the Docker daemon.
32  #
33  # There are multiple reasons to exclude files from the build context:
34  #
35  # 1. Prevent nested folders from being copied into the container (ex: exclude
36  #    /assets/node_modules when copying /assets)
37  # 2. Reduce the size of the build context and improve build time (ex. /build, /deps, /doc)
38  # 3. Avoid sending files containing sensitive information
39  #
40  # More information on using .dockerignore is available here:
41  # https://docs.docker.com/engine/reference/builder/#dockerignore-file
42  
43  .dockerignore
44  
45  # Ignore git, but keep git HEAD and refs to access current commit hash if needed:
46  #
47  # $ cat .git/HEAD | awk '{print ".git/"$2}' | xargs cat
48  # d0b8727759e1e0e7aa3d41707d12376e373d5ecc
49  .git
50  !.git/HEAD
51  !.git/refs
52  
53  # Common development/test artifacts
54  /cover/
55  /doc/
56  /test/
57  /tmp/
58  .elixir_ls
59  
60  # Mix artifacts
61  /_build/
62  /deps/
63  *.ez
64  
65  # Generated on crash by the VM
66  erl_crash.dump
67  
68  # Static artifacts - These should be fetched and built inside the Docker image
69  /assets/node_modules/
70  /priv/static/assets/
71  /priv/static/cache_manifest.json