lookyloo/Dockerfile

24 lines
440 B
Docker
Raw Normal View History

FROM ubuntu:focal
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 wget python3-dev git python3-venv python3-pip
2020-01-21 17:39:18 +01:00
RUN pip3 install poetry
2019-01-23 15:13:29 +01:00
2018-03-16 11:05:42 +01:00
WORKDIR lookyloo
2019-11-02 05:05:08 +01:00
COPY lookyloo lookyloo/
COPY bin bin/
COPY website website/
COPY setup.py .
2020-01-21 17:39:18 +01:00
COPY pyproject.toml .
COPY poetry.lock .
2020-02-10 11:42:09 +01:00
COPY README.md .
2019-11-02 05:05:08 +01:00
RUN mkdir cache user_agents scraped
2020-01-21 17:39:18 +01:00
RUN poetry install
2019-11-02 05:05:08 +01:00
RUN echo LOOKYLOO_HOME="'`pwd`'" > .env