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
|
2019-11-02 05:05:08 +01:00
|
|
|
RUN apt-get -y install wget python3-pip nodejs git
|
2019-01-23 15:13:29 +01:00
|
|
|
RUN pip3 install pipenv
|
|
|
|
|
2018-03-16 11:05:42 +01:00
|
|
|
WORKDIR lookyloo
|
|
|
|
|
2019-11-02 05:05:08 +01:00
|
|
|
COPY lookyloo lookyloo/
|
|
|
|
COPY client client/
|
|
|
|
COPY bin bin/
|
|
|
|
COPY website website/
|
|
|
|
COPY setup.py .
|
|
|
|
COPY Pipfile .
|
|
|
|
COPY Pipfile.lock .
|
|
|
|
|
|
|
|
RUN mkdir cache user_agents scraped
|
|
|
|
|
|
|
|
RUN pipenv install
|
|
|
|
RUN echo LOOKYLOO_HOME="'`pwd`'" > .env
|