2018-07-25 11:48:26 -05:00
|
|
|
# we try to avoid adding files to the docker images that change often
|
2017-06-21 22:56:39 -05:00
|
|
|
# or that are not needed for running the docker image
|
2018-07-30 05:08:12 -05:00
|
|
|
# this greatly reduces the amount of times we need to rerun `npm install` when building image locally
|
2017-06-21 22:56:39 -05:00
|
|
|
# https://codefresh.io/blog/not-ignore-dockerignore/
|
|
|
|
# https://docs.docker.com/engine/reference/builder/#dockerignore-file
|
|
|
|
|
|
|
|
# consider them hidden
|
|
|
|
.*
|
2017-06-24 05:03:44 -05:00
|
|
|
# you can add exceptions like in .gitignore to maintain a whitelist:
|
|
|
|
# e.g.
|
2024-07-30 16:15:34 -05:00
|
|
|
!.babelrc
|
|
|
|
!.eslintrc
|
|
|
|
!.prettierrc.json
|
|
|
|
!.prettierignore
|
2017-07-15 14:58:33 -05:00
|
|
|
!.eslintignore
|
|
|
|
!.stylelintrc
|
2017-06-21 22:56:39 -05:00
|
|
|
|
2024-07-30 16:15:34 -05:00
|
|
|
# do not copy over node_modules we will run `pnpm install` anyway
|
2017-06-21 22:56:39 -05:00
|
|
|
node_modules
|
2024-07-30 16:15:34 -05:00
|
|
|
website
|
|
|
|
jest
|
|
|
|
docs
|
|
|
|
contrib
|
|
|
|
docker-examples
|
|
|
|
systemd
|
2017-06-21 22:56:39 -05:00
|
|
|
|
|
|
|
# output from test runs and similar things
|
|
|
|
*.log
|
|
|
|
coverage/
|
2018-03-17 05:53:10 -05:00
|
|
|
.vscode/
|
2017-06-21 22:56:39 -05:00
|
|
|
|
|
|
|
# IDE config files
|
|
|
|
jsconfig.json
|
|
|
|
*.iml
|
2024-07-30 16:15:34 -05:00
|
|
|
|
2018-07-30 05:08:12 -05:00
|
|
|
# let's not get too recursive ;)
|
2017-06-21 22:56:39 -05:00
|
|
|
Dockerfile*
|
|
|
|
docker-compose*.yaml
|