updated dockerfile

This commit is contained in:
marvzhang
2021-07-16 16:02:38 +08:00
parent fc4f5afa55
commit 418dd67a89
4 changed files with 23 additions and 64 deletions

View File

@@ -36,6 +36,10 @@ RUN chmod 777 /tmp \
&& ln -s /usr/bin/pip3 /usr/local/bin/pip \
&& ln -s /usr/bin/python3 /usr/local/bin/python
# install seaweedfs
RUN wget https://github.com/chrislusf/seaweedfs/releases/download/2.48/linux_amd64.tar.gz \
&& tar -zxf linux_amd64.tar.gz \
&& cp weed /usr/local/bin
# install backend
RUN pip install scrapy pymongo bs4 requests crawlab-sdk