2016-12-03 22:41:47 +08:00
|
|
|
FROM python:3.5.1
|
|
|
|
MAINTAINER Richard Chien <richardchienthebest@gmail.com>
|
|
|
|
|
|
|
|
COPY *.py ./
|
2017-02-16 21:45:31 +08:00
|
|
|
COPY msg_src_adapters msg_src_adapters
|
2016-12-08 22:24:25 +08:00
|
|
|
COPY filters filters
|
2017-01-03 01:42:13 +08:00
|
|
|
COPY commands commands
|
|
|
|
COPY nl_processors nl_processors
|
2016-12-03 22:41:47 +08:00
|
|
|
COPY requirements.txt requirements.txt
|
|
|
|
|
|
|
|
RUN pip install --upgrade pip
|
|
|
|
RUN pip install -r requirements.txt
|
|
|
|
|
2017-01-01 23:16:34 +08:00
|
|
|
RUN apt-get update \
|
2017-01-03 01:14:27 +08:00
|
|
|
&& apt-get install -y libav-tools \
|
2017-01-01 23:16:34 +08:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
2016-12-03 23:44:01 +08:00
|
|
|
CMD python app.py
|