forked from civictheme/monorepo-drupal
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.dockerignore
More file actions
44 lines (38 loc) · 826 Bytes
/
.dockerignore
File metadata and controls
44 lines (38 loc) · 826 Bytes
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 docroot.
!docroot
# Do not ignore config.
!config
# But still ignore Drupal directories generated by Composer.
docroot/core
docroot/modules/contrib
docroot/themes/contrib
!docroot/themes/contrib/civictheme
docroot/profiles/contrib
docroot/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
!composer.d10.json
!composer.d10.lock
!Gruntfile.js
!package.json
!package-lock.json
!patches
!scripts
!.lagoon.env.*