fixes for running lookyloo using docker-compose

pull/630/head
bib0x 2023-03-06 09:04:26 +01:00
parent cf65287c0a
commit 8c12c39bcb
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 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 libxcomposite1 libxfixes3 libxrandr2 libasound2
RUN pip3 install poetry
WORKDIR lookyloo
@ -19,6 +20,7 @@ COPY website website/
COPY pyproject.toml .
COPY poetry.lock .
COPY README.md .
COPY LICENSE .
RUN mkdir cache user_agents scraped

View File

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