81 lines
1.9 KiB
Plaintext
81 lines
1.9 KiB
Plaintext
# This file excludes paths from the Docker build context.
|
|
#
|
|
# By default, Docker's build context includes all files (and folders) in the
|
|
# current directory. Even if a file isn't copied into the container it is still sent to
|
|
# the Docker daemon.
|
|
#
|
|
# There are multiple reasons to exclude files from the build context:
|
|
#
|
|
# 1. Prevent nested folders from being copied into the container (ex: exclude
|
|
# /assets/node_modules when copying /assets)
|
|
# 2. Reduce the size of the build context and improve build time (ex. /build, /deps, /doc)
|
|
# 3. Avoid sending files containing sensitive information
|
|
#
|
|
# More information on using .dockerignore is available here:
|
|
# https://docs.docker.com/engine/reference/builder/#dockerignore-file
|
|
|
|
.dockerignore
|
|
|
|
# Ignore git, but keep git HEAD and refs to access current commit hash if needed:
|
|
#
|
|
# $ cat .git/HEAD | awk '{print ".git/"$2}' | xargs cat
|
|
# d0b8727759e1e0e7aa3d41707d12376e373d5ecc
|
|
.git
|
|
!.git/HEAD
|
|
!.git/refs
|
|
|
|
# Common development/test artifacts
|
|
/cover/
|
|
/doc/
|
|
/tmp/
|
|
.elixir_ls
|
|
|
|
# Mix artifacts
|
|
/_build/
|
|
/deps/
|
|
*.ez
|
|
|
|
# Generated on crash by the VM
|
|
erl_crash.dump
|
|
core
|
|
core.*
|
|
|
|
# Static artifacts - These should be fetched and built inside the Docker image
|
|
# https://phoenix.hexdocs.pm/Mix.Tasks.Phx.Gen.Release.html#module-docker
|
|
/assets/node_modules/
|
|
/e2e/node_modules/
|
|
/priv/static/assets/
|
|
/priv/static/cache_manifest.json
|
|
/android/.gradle/
|
|
/android/.kotlin/
|
|
/android/.idea/
|
|
/android/.cxx/
|
|
/android/app/build/
|
|
/android/build/
|
|
/android/dist/
|
|
/android/dist-*/
|
|
/android/local.properties
|
|
/android/*.apk
|
|
/android/*.aab
|
|
/android/*.jks
|
|
/android/*.keystore
|
|
/android/**/*.apk
|
|
/android/**/*.aab
|
|
/android/**/*.jks
|
|
/android/**/*.keystore
|
|
*.key
|
|
*.pem
|
|
*.p12
|
|
*.pfx
|
|
/.direnv/
|
|
/.envrc
|
|
/.tools/
|
|
/.playwright-cli/
|
|
/output/
|
|
|
|
# Local configuration can contain deployment credentials and must not be sent
|
|
# to Docker when Compose builds from the repository root.
|
|
/.env
|
|
/.env.*
|
|
!/.env.example
|