Skip to content

Commit 05cae32

Browse files
committed
Add .dockerignore file
We want to make sure things like node_modules is not copied over from the host environment while generating the image. Signed-off-by: Jeremy Ho <jujaga@gmail.com>
1 parent 3507810 commit 05cae32

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

.dockerignore

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Editor directories and files
2+
.DS_Store
3+
.gradle
4+
.nyc_output
5+
.scannerwork
6+
build
7+
coverage
8+
dist
9+
files
10+
**/e2e/videos
11+
node_modules
12+
# Ignore only top-level package-lock.json
13+
/package-lock.json
14+
15+
# Ignore Helm subcharts
16+
charts/**/charts
17+
Chart.lock
18+
19+
# local env files
20+
local.*
21+
local-*.*
22+
.env.local
23+
.env.*.local
24+
25+
# Log files
26+
npm-debug.log*
27+
yarn-debug.log*
28+
yarn-error.log*
29+
30+
# Editor directories and files
31+
.idea
32+
.vscode
33+
*.iml
34+
*.suo
35+
*.ntvs*
36+
*.njsproj
37+
*.sln
38+
*.sw?
39+
*.mp4
40+
41+
# temp office files
42+
~$*

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ openshift/ - OpenShift-deployment and shared pipeline files
3333
CODE-OF-CONDUCT.md - Code of Conduct
3434
COMPLIANCE.yaml - BCGov PIA/STRA compliance status
3535
CONTRIBUTING.md - Contributing Guidelines
36+
Dockerfile - Dockerfile Image definition
3637
LICENSE - License
3738
SECURITY.md - Security Policy and Reporting
3839
```

0 commit comments

Comments
 (0)