File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed
Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff 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
6874EXPOSE 3000
You can’t perform that action at this time.
0 commit comments