Skip to content

Commit 02d06ab

Browse files
committed
perf: add dockerignore files to ignore node_modules in the build process
1 parent 246e72f commit 02d06ab

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

api/.dockerignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Ignore node_modules
2+
node_modules
3+
4+
# Ignore logs
5+
npm-debug.log
6+
yarn-debug.log
7+
yarn-error.log
8+
9+
# Ignore environment files
10+
.env
11+
12+
13+
# Ignore git files
14+
.git
15+
.gitignore
16+
17+
# Ignore build artifacts
18+
dist
19+
build
20+
coverage

client/.dockerignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Ignore node_modules
2+
node_modules
3+
4+
# Ignore logs
5+
npm-debug.log
6+
yarn-debug.log
7+
yarn-error.log
8+
9+
# Ignore environment files
10+
.env
11+
12+
13+
# Ignore git files
14+
.git
15+
.gitignore
16+
17+
# Ignore build artifacts
18+
dist
19+
build
20+
coverage

0 commit comments

Comments
 (0)