Select Git revision
Dockerfile 553 B
FROM python:2
RUN apt-get update -qq \
&& apt-get install -qqy --no-install-recommends libjpeg-turbo-progs \
&& rm -r /var/lib/apt/lists/*
RUN pip install thumbor opencv-python remotecv redis celery tc_prometheus
RUN mkdir /etc/thumbor \
&& thumbor-config > /etc/thumbor.conf
ADD remotecv/https_loader.py /usr/local/lib/python2.7/site-packages/remotecv/https_loader.py
ADD remotecv/redis_store.py /usr/local/lib/python2.7/site-packages/remotecv/result_store/redis_store.py
EXPOSE 8888
EXPOSE 8000
CMD ["/usr/local/bin/thumbor"]