-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
41 lines (37 loc) · 940 Bytes
/
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
33
34
35
36
37
38
39
40
41
FROM ubuntu:18.04
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
RUN apt-get update && \
apt-get install -yq \
build-essential \
gcc \
git \
libffi6 libffi-dev \
gobject-introspection \
gstreamer1.0-libav \
gstreamer1.0-nice \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-ugly \
gstreamer1.0-tools \
gir1.2-gst-plugins-bad-1.0 \
libcairo2-dev \
libgirepository1.0-dev \
pkg-config \
python3-dev \
python3-wheel \
python3-gst-1.0 \
python3-pip \
python3-gi \
python3-websockets \
python3-psutil \
python3-uvloop
RUN git clone --depth 1 https://github.com/bbc/brave.git && \
cd brave && \
pip3 install pipenv sanic && \
pipenv install --ignore-pipfile && \
mkdir -p /usr/local/share/brave/output_images/
EXPOSE 5000
WORKDIR /brave
CMD ["pipenv", "run", "/brave/brave.py"]