forked from kibitzr/kibitzr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
32 lines (25 loc) · 1.01 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
FROM python:bullseye
ENV DEBIAN_FRONTEND noninteractive
RUN apt -qqy update \
&& apt -y install \
libffi-dev \
firefox-esr \
git \
jq \
python3-lazy-object-proxy \
python3-lxml \
python3-yaml \
python3-pip \
curl \
&& curl -L https://github.com/mozilla/geckodriver/releases/download/v0.32.2/geckodriver-v0.32.2-linux64.tar.gz | tar zxf - \
&& mv geckodriver /usr/local/bin/ \
&& apt-get remove -y curl \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
COPY . /kibitzr/
RUN cd /kibitzr \
&& pip3 install --upgrade pip \
&& pip3 install -e .[locked]
WORKDIR /root/
ENV PYTHONUNBUFFERED true
ENTRYPOINT ["kibitzr"]