-
Notifications
You must be signed in to change notification settings - Fork 5
/
.dockerignore
52 lines (43 loc) · 1.37 KB
/
.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
################################################################################
# Excludes files not relevant to building a Docker image for Whisker.
################################################################################
# To learn how to test the .dockerignore file see https://stackoverflow.com/a/40966234
# Note: .dockerignore is only applied when the docker CLI sends the build
# context to the docker daemon. It is not applied when copying files
# between different stages in multi-stage builds (as in our case when we
# copy Whisker from the build stage to the execution stage).
# Ignore everyting by default. This means you explicitly have to whitelist
# needed files and folders.
*
# Whitelist Whisker configuration files.
!config
config/*
!config/*.json
# Whitelist source codes for scratch-analysis.
!scratch-analysis
scratch-analysis/*
!scratch-analysis/*.js
!scratch-analysis/package.json
!scratch-analysis/src
# Whitelist source codes for servant.
!servant
servant/*
!servant/*.js
!servant/*.json
!servant/*.sh
# Whitelist source codes for whisker-main.
!whisker-main
whisker-main/*
!whisker-main/src
!whisker-main/*.js
!whisker-main/*.json
# Whitelist source codes for whisker-web.
!whisker-web
whisker-web/*
!whisker-web/src
!whisker-web/*.js
!whisker-web/*.json
# Whitelist files required to build Whisker.
!package.json
!yarn.lock
!tsconfig.json