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