| 1 | # See https://docs.docker.com/engine/reference/builder/#dockerignore-file for more about ignoring files. |
| 2 | |
| 3 | # Ignore git directory. |
| 4 | /.git/ |
| 5 | /.gitignore |
| 6 | |
| 7 | # Ignore bundler config. |
| 8 | /.bundle |
| 9 | |
| 10 | # Ignore all environment files. |
| 11 | /.env* |
| 12 | |
| 13 | # Ignore all default key files. |
| 14 | /config/master.key |
| 15 | /config/credentials/*.key |
| 16 | |
| 17 | # Ignore all logfiles and tempfiles. |
| 18 | /log/* |
| 19 | /tmp/* |
| 20 | !/log/.keep |
| 21 | !/tmp/.keep |
| 22 | |
| 23 | # Ignore pidfiles, but keep the directory. |
| 24 | /tmp/pids/* |
| 25 | !/tmp/pids/.keep |
| 26 | |
| 27 | # Ignore storage (uploaded files in development and any SQLite databases). |
| 28 | /storage/* |
| 29 | !/storage/.keep |
| 30 | /tmp/storage/* |
| 31 | !/tmp/storage/.keep |
| 32 | |
| 33 | # Ignore assets. |
| 34 | /node_modules/ |
| 35 | /app/assets/builds/* |
| 36 | !/app/assets/builds/.keep |
| 37 | /public/assets |
| 38 | |
| 39 | # Ignore CI service files. |
| 40 | /.github |
| 41 | |
| 42 | # Ignore Kamal files. |
| 43 | /config/deploy*.yml |
| 44 | /.kamal |
| 45 | |
| 46 | # Ignore development files |
| 47 | /.devcontainer |
| 48 | |
| 49 | # Ignore Docker-related files |
| 50 | /.dockerignore |
| 51 | /Dockerfile* |