2018-07-25 18:48:26 +02:00
|
|
|
# we try to avoid adding files to the docker images that change often
|
2017-06-22 05:56:39 +02:00
|
|
|
# or that are not needed for running the docker image
|
2018-07-30 12:08:12 +02:00
|
|
|
# this greatly reduces the amount of times we need to rerun `npm install` when building image locally
|
2017-06-22 05:56:39 +02:00
|
|
|
# https://codefresh.io/blog/not-ignore-dockerignore/
|
|
|
|
# https://docs.docker.com/engine/reference/builder/#dockerignore-file
|
|
|
|
|
|
|
|
# consider them hidden
|
|
|
|
.*
|
2017-06-24 12:03:44 +02:00
|
|
|
# you can add exceptions like in .gitignore to maintain a whitelist:
|
|
|
|
# e.g.
|
2024-07-19 19:02:49 +02:00
|
|
|
!babel.config.js
|
|
|
|
!eslintrc.js
|
|
|
|
!.prettierrc
|
2017-07-15 21:58:33 +02:00
|
|
|
!.eslintignore
|
|
|
|
!.stylelintrc
|
2024-07-19 19:02:49 +02:00
|
|
|
!.jest.config.js
|
|
|
|
!.jestEnvironment.js
|
|
|
|
!.yarnrc.yml
|
|
|
|
!.yarn/releases/yarn-*.cjs
|
|
|
|
!.yarn/plugins/*
|
|
|
|
!.pnp.js
|
2017-06-22 05:56:39 +02:00
|
|
|
|
2024-07-19 19:02:49 +02:00
|
|
|
# just in case, yarn 2 pnp is enabled
|
2017-06-22 05:56:39 +02:00
|
|
|
node_modules
|
2024-07-19 19:02:49 +02:00
|
|
|
.husky/
|
|
|
|
.git/
|
2017-06-22 05:56:39 +02:00
|
|
|
|
|
|
|
# output from test runs and similar things
|
|
|
|
*.log
|
|
|
|
coverage/
|
2018-03-17 11:53:10 +01:00
|
|
|
.vscode/
|
2017-06-22 05:56:39 +02:00
|
|
|
|
|
|
|
# IDE config files
|
|
|
|
jsconfig.json
|
|
|
|
*.iml
|
2018-07-30 12:08:12 +02:00
|
|
|
# let's not get too recursive ;)
|
2017-06-22 05:56:39 +02:00
|
|
|
Dockerfile*
|
|
|
|
docker-compose*.yaml
|
2024-07-19 19:02:49 +02:00
|
|
|
.github/
|
|
|
|
.husky/
|
|
|
|
*.log
|
|
|
|
coverage/
|
|
|
|
.vscode/
|
|
|
|
*.md
|
|
|
|
contrib/
|
|
|
|
docs/
|
|
|
|
docker-examples/
|
|
|
|
systemd/
|
|
|
|
assets/
|
|
|
|
jest*.js
|
|
|
|
test/
|
|
|
|
wiki/
|
|
|
|
debug/
|