Skip to content

Commit f871903

Browse files
authored
Update Dockerfile
1 parent 149f39e commit f871903

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

Dockerfile

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,18 @@ RUN find "$(pwd)/node_modules" -type f \( \
5757
\) -exec rm -f {} \;
5858

5959
# Folders
60-
RUN find "$(pwd)/node_modules" -type d -name "docs?" -prune -exec rm -rf {} +;
61-
RUN find "$(pwd)/node_modules" -type d -name "tests?" -prune -exec rm -rf {} +;
62-
RUN find "$(pwd)/node_modules" -type d -name ".idea" -prune -exec rm -rf {} +;
63-
RUN find "$(pwd)/node_modules" -type d -name ".vscode" -prune -exec rm -rf {} +;
64-
RUN find "$(pwd)/node_modules" -type d -name "__tests__" -prune -exec rm -rf {} +;
65-
RUN find "$(pwd)/node_modules" -type d -name "coverage" -prune -exec rm -rf {} +;
60+
RUN find "$(pwd)/node_modules" -type d \( \
61+
-name "docs" -o \
62+
-name "doc" -o \
63+
-name "tests" -o \
64+
-name "test" -o \
65+
-name "__tests__" -o \
66+
-name ".idea" -o \
67+
-name ".vscode" -o \
68+
-name "coverage" -o \
69+
-name ".github" -o \
70+
-name ".circleci" \
71+
\) -prune -exec rm -rf {} +;
6672

6773
# Default port
6874
EXPOSE 3000

0 commit comments

Comments
 (0)