lookyloo/Dockerfile

25 lines
651 B
Docker
Raw Normal View History

2018-05-02 14:21:55 +02:00
FROM ubuntu:bionic
2019-01-23 15:13:29 +01:00
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
2018-03-16 11:05:42 +01:00
RUN apt-get update
RUN apt-get -y upgrade
RUN apt-get -y install git wget python3-pip
2019-01-23 15:13:29 +01:00
RUN pip3 install pipenv
WORKDIR root_lookyloo
2019-02-05 14:41:32 +01:00
run git clone https://github.com/antirez/redis.git
run cd redis && git checkout 5.0 && make && cd ..
2018-03-16 11:05:42 +01:00
RUN git clone https://github.com/CIRCL/lookyloo.git
WORKDIR lookyloo
RUN sed -i "s/str='http:\/\/127.0.0.1:8050'/str='http:\/\/splash:8050'/g" lookyloo/lookyloo.py
2019-01-23 15:13:29 +01:00
RUN pipenv install
run echo LOOKYLOO_HOME="'`pwd`'" > .env
2018-03-16 11:05:42 +01:00
run nohup pipenv run run_backend.py --start
run nohup pipenv run async_scrape.py
CMD ["pipenv", "run", "start_website.py"]
EXPOSE 5100