mirror of https://github.com/CIRCL/lookyloo
chg: Remove splash from docker stuff
parent
5af278f84d
commit
b90dace0ad
|
@ -5,6 +5,7 @@ ENV LANG=C.UTF-8
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get -y upgrade
|
RUN apt-get -y upgrade
|
||||||
RUN apt-get -y install wget python3-dev git python3-venv python3-pip python-is-python3
|
RUN apt-get -y install wget python3-dev git python3-venv python3-pip python-is-python3
|
||||||
|
RUN apt-get -y install libnss3 libnspr4 libatk1.0-0 libatk-bridge2.0-0 libcups2 libxkbcommon0 libxdamage1 libgbm1 libpango-1.0-0 libcairo2 libatspi2.0-0
|
||||||
RUN pip3 install poetry
|
RUN pip3 install poetry
|
||||||
|
|
||||||
WORKDIR lookyloo
|
WORKDIR lookyloo
|
||||||
|
@ -20,7 +21,12 @@ COPY README.md .
|
||||||
|
|
||||||
RUN mkdir cache user_agents scraped
|
RUN mkdir cache user_agents scraped
|
||||||
|
|
||||||
RUN poetry install
|
|
||||||
RUN echo LOOKYLOO_HOME="'`pwd`'" > .env
|
RUN echo LOOKYLOO_HOME="'`pwd`'" > .env
|
||||||
|
RUN cp config/generic.json.sample config/generic.json
|
||||||
|
RUN cp config/modules.json.sample config/modules.json
|
||||||
|
RUN poetry install
|
||||||
|
RUN poetry run playwright install
|
||||||
|
RUN poetry run tools/validate_config_files.py --check
|
||||||
|
RUN poetry run tools/validate_config_files.py --update
|
||||||
RUN poetry run tools/3rdparty.py
|
RUN poetry run tools/3rdparty.py
|
||||||
RUN poetry run tools/generate_sri.py
|
RUN poetry run tools/generate_sri.py
|
||||||
|
|
|
@ -15,19 +15,10 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./indexing:/indexing
|
- ./indexing:/indexing
|
||||||
|
|
||||||
splash:
|
|
||||||
image: "scrapinghub/splash:3.5.0"
|
|
||||||
ports:
|
|
||||||
- "8050:8050"
|
|
||||||
- "5023:5023"
|
|
||||||
command: --disable-private-mode
|
|
||||||
|
|
||||||
lookyloo:
|
lookyloo:
|
||||||
build: .
|
build: .
|
||||||
working_dir: /lookyloo
|
working_dir: /lookyloo
|
||||||
tty: true
|
tty: true
|
||||||
environment:
|
|
||||||
- SPLASH_URL_DOCKER=http://splash:8050
|
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
- -c
|
- -c
|
||||||
|
@ -46,4 +37,3 @@ services:
|
||||||
links:
|
links:
|
||||||
- "redis-cache"
|
- "redis-cache"
|
||||||
- "redis-indexing"
|
- "redis-indexing"
|
||||||
- "splash"
|
|
||||||
|
|
Loading…
Reference in New Issue