forked from civictheme/monorepo-drupal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.dockerignore
44 lines (38 loc) · 802 Bytes
/
.dockerignore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Ignore everything but a whitelist of files.
#
# It is very important to only add production assets to the container during
# the build. Adding anything else, like tests files or packages, has potential
# security implications.
# Ignore everything.
*
# Do not ignore web.
!web
# Do not ignore config.
!config
# But still ignore Drupal directories generated by Composer.
web/core
web/modules/contrib
web/themes/contrib
!web/themes/contrib/civictheme
web/themes/custom
!web/themes/custom/.gitkeep
web/profiles/contrib
web/libraries
!drush
drush/contrib/
node_modules
# Do not ignore other required files.
!.docker/scripts
!.docker/config
!.env
!.eslintrc.json
!.sass-lint.yml
!auth.json
!composer.json
!composer.lock
!Gruntfile.js
!package.json
!package-lock.json
!patches
!scripts
!.lagoon.env.*