.dockerignore 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. # This file excludes paths from the Docker build context.
  2. #
  3. # By default, Docker's build context includes all files (and folders) in the
  4. # current directory. Even if a file isn't copied into the container it is still sent to
  5. # the Docker daemon.
  6. #
  7. # There are multiple reasons to exclude files from the build context:
  8. #
  9. # 1. Prevent nested folders from being copied into the container (ex: exclude
  10. # /assets/node_modules when copying /assets)
  11. # 2. Reduce the size of the build context and improve build time (ex. /build, /deps, /doc)
  12. # 3. Avoid sending files containing sensitive information
  13. #
  14. # More information on using .dockerignore is available here:
  15. # https://docs.docker.com/engine/reference/builder/#dockerignore-file
  16. .dockerignore
  17. # Ignore git, but keep git HEAD and refs to access current commit hash if needed:
  18. #
  19. # $ cat .git/HEAD | awk '{print ".git/"$2}' | xargs cat
  20. # d0b8727759e1e0e7aa3d41707d12376e373d5ecc
  21. .git
  22. !.git/HEAD
  23. !.git/refs
  24. # Common development/test artifacts
  25. /cover/
  26. /doc/
  27. /test/
  28. /tmp/
  29. .elixir_ls
  30. plausible-report.xml
  31. .env
  32. .idea
  33. *.iml
  34. *.log
  35. *.code-workspace
  36. .vscode
  37. # Mix artifacts
  38. /_build/
  39. /deps/
  40. *.ez
  41. # Generated on crash by the VM
  42. erl_crash.dump
  43. # If NPM crashes, it generates a log, let's ignore it too.
  44. npm-debug.log
  45. # Static artifacts - These should be fetched and built inside the Docker image
  46. /assets/node_modules/
  47. /tracker/node_modules/
  48. /priv/static/cache_manifest.json
  49. /priv/static/css
  50. /priv/static/js
  51. /priv/version.json
  52. # Auto-generated tracker files
  53. /priv/tracker/js/*.js
  54. # Dializer
  55. /priv/plts/*.plt
  56. /priv/plts/*.plt.hash
  57. # Geolocation databases
  58. /priv/geodb/*.mmdb
  59. /priv/geodb/*.mmdb.gz
  60. # Docker volumes
  61. .clickhouse_db_vol*
  62. plausible_db*