-
Notifications
You must be signed in to change notification settings - Fork 16
/
Dockerfile.dockerignore
98 lines (81 loc) · 2.94 KB
/
Dockerfile.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# =============================================================
# =============================================================
# ========== THIS IS A GENERATED FILE; DO NOT MODIFY ==========
# =============================================================
# =============================================================
# (Instead, modify the template.dockerignore files, then run `npm start backend.dockerPrep`; or just run one of the docker-related commands in package-scripts.js.)
# ==================================================================
# ========== SECTION FROM templateBase.dockerignore BELOW ==========
# ==================================================================
# anywhere
# ==========
**/*.md
**/*.d.ts
**/Dockerfile
**/template.dockerignore
**/.dockerignore
**/Dockerfile.dockerignore
**/tsconfig.tsbuildinfo
# deployment config files are only relevant to Kubernetes (which does not use Docker to retrieve that info)
**/deployment.yaml
# any node-module overrides (eg. symlinked packages) are now handled at start of final-layer docker-images through "COPY NMOverwrites/ /dm_repo/" command
node_modules
Packages/**/node_modules
# root
# ==========
# most of these are excluded just so that Tilt doesn't update resources based on their being changed
.git
.yarn/*
!.yarn/releases
!.yarn/plugins
# yarn.lock is excluded, because we always use `Others/yarn-lock-for-docker.lock` instead
yarn.lock
yalc.lock
Temp
target
.gitignore
.eslintrc.cjs
package-scripts.js
README.md
Tilt
templateBase.dockerignore
# within packages
# ==========
Packages/client/Source
Packages/js-common/Source
Packages/deploy/**
!Packages/deploy/package.json
# ===========================================================================
# ========== SECTION FROM Packages/XXX/template.dockerignore BELOW ==========
# ===========================================================================
# default all files under "Packages" to being excluded... (keep this block the same in all rust-package "template.dockerignore" files)
Packages/app-server/*
Packages/client/*
Packages/deploy/*
Packages/js-common/*
Packages/monitor-backend/*
Packages/monitor-client/*
Packages/rust-macros/*
Packages/rust-shared/*
Packages/web-server/*
# but re-include all Cargo.toml files, in the rust packages (keep this block the same in all "template.dockerignore" files -- well, those in rust packages)
!Packages/rust-macros/Cargo.toml
!Packages/rust-shared/Cargo.toml
!Packages/monitor-backend/Cargo.toml
!Packages/app-server/Cargo.toml
!Packages/web-server/Cargo.toml
# and reinclude the shared packages
!Packages/rust-macros/*
!Packages/rust-shared/*
# and reinclude this package itself
!Packages/monitor-backend/*
# we also need access to monitor-client's output files
!Packages/monitor-client/Dist
!Packages/monitor-client/Resources
#!Packages/monitor-client/Scripts
# we don't care about any of the npm/yarn stuff
**/package.json
**/package-lock.json
**/yarn.lock
**/yarn-lock-for-docker.lock
**/.yalc