forked from happyleavesaoc/python-firetv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
28 lines (24 loc) · 793 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
FROM python:3
MAINTAINER Jon Bullen
RUN apt-get update && apt-get install -y \
libssl-dev \
libusb-1.0-0 \
python3-dev \
build-essential \
libffi-dev \
cargo \
swig \
curl \
unzip \
&& curl -L -o /tmp/master.zip https://github.com/tamtam1111/python-firetv/archive/master.zip \
&& cd /tmp \
&& unzip master.zip \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN pip --no-cache-dir install --upgrade pip
RUN pip --no-cache-dir install flask adb_shell M2Crypto
RUN pip install /tmp/python-firetv-master[firetv-server]
CMD ["firetv-server", "-c", "config/devices.yaml"]
# docker build -t docker-firetv .
# docker run -it --rm --name docker-firetv -p 5556:5556 docker-firetv