diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2020-03-29 11:06:22 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-03-29 11:06:22 +0200 |
commit | ec453e0239dcaa6edefe7f50567f2da2eec77b5d (patch) | |
tree | b16a74d30e8042b1d224a08637721edf5f5905b8 /.dockerignore | |
parent | d7523071a0ba8c210f7ece31d8e30f5c360966c3 (diff) | |
download | searxng-ec453e0239dcaa6edefe7f50567f2da2eec77b5d.tar.gz searxng-ec453e0239dcaa6edefe7f50567f2da2eec77b5d.zip |
[fix] docker 'Error compiling' and 'SyntaxError' messages
The make docker target spits out some SyntaxError. With this .dockerignore
there is no more error. Explanation:
- the python files are compiled while building the docker image
- a node modules contains some python files
- the python files inside the node module doesn't compile
It raises the fact that node_modules were included in the docker image which
should not happen. Same the local directory was included. Dockerfile builds
searx in its own way (without virtualenv)
Thanks @dalf:
- https://github.com/asciimoo/searx/pull/1900#issuecomment-604892737
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to '.dockerignore')
-rw-r--r-- | .dockerignore | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.dockerignore b/.dockerignore index f4d03376c..044460b20 100644 --- a/.dockerignore +++ b/.dockerignore @@ -4,6 +4,9 @@ */*/*/*~ */*/*/*/*~ +# +local/ + # Git .git .gitignore @@ -36,6 +39,11 @@ robot_report.html test_basic/ setup.cfg +# node_modules node_modules/ +*/node_modules/ +*/*/node_modules/ +*/*/*/node_modules/ +*/*/*/*/node_modules/ .tx/
\ No newline at end of file |