Merge pull request #630 from bib0x/bib0x/docker_fixes

fixes for running lookyloo using docker-compose
pull/635/head
Raphaël Vinot 2023-03-06 14:46:57 +01:00 committed by GitHub
commit eca8de7683
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,7 @@ 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 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 apt-get -y install libxcomposite1 libxfixes3 libxrandr2 libasound2
RUN pip3 install poetry RUN pip3 install poetry
WORKDIR lookyloo WORKDIR lookyloo
@ -19,6 +20,7 @@ COPY website website/
COPY pyproject.toml . COPY pyproject.toml .
COPY poetry.lock . COPY poetry.lock .
COPY README.md . COPY README.md .
COPY LICENSE .
RUN mkdir cache user_agents scraped RUN mkdir cache user_agents scraped

View File

@ -32,6 +32,7 @@ services:
- ./discarded:/lookyloo/discarded_captures - ./discarded:/lookyloo/discarded_captures
- ./user_agents:/lookyloo/user_agents - ./user_agents:/lookyloo/user_agents
- ./config:/lookyloo/config - ./config:/lookyloo/config
- ./logs:/lookyloo/logs
ports: ports:
- "5100:5100" - "5100:5100"
links: links: