diff --git a/.dockerignore b/.dockerignore
index 3d158c95d..6fcbd368b 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -4,9 +4,6 @@
 */*/*/*~
 */*/*/*/*~
 
-#
-local/
-
 # Git
 .git
 .gitignore
@@ -26,19 +23,6 @@ __pycache__/
 */*/*.py[cod]
 */*/*/*.py[cod]
 
-# to sync with .gitignore
-.coverage
-coverage/
-.installed.cfg
-engines.cfg
-env
-searx-ve
-robot_log.html
-robot_output.xml
-robot_report.html
-test_basic/
-setup.cfg
-
 # node_modules
 node_modules/
 */node_modules/
@@ -48,9 +32,13 @@ node_modules/
 
 .tx/
 
-#
+# to sync with .gitignore
+geckodriver.log
+.coverage
+coverage/
+cache/
 build/
 dist/
 local/
 gh-pages/
-searx.egg-info/
+*.egg-info/
diff --git a/.gitignore b/.gitignore
index b1286ea66..fd152a347 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,28 +1,17 @@
 # to sync with .dockerignore
-.coverage
-coverage/
-cache/
-.installed.cfg
-engines.cfg
-env
-searx-ve
-robot_log.html
-robot_output.xml
-robot_report.html
-test_basic/
-setup.cfg
 
 *.pyc
 */*.pyc
 *~
 *.swp
+geckodriver.log
 
-/node_modules
-
-.tx/
+.coverage
+coverage/
 
+cache/
 build/
 dist/
 local/
 gh-pages/
-searx.egg-info/
+*.egg-info/