-
Notifications
You must be signed in to change notification settings - Fork 16
/
template.dockerignore
36 lines (31 loc) · 1.07 KB
/
template.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
# 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