Skip to content
Snippets Groups Projects
Select Git revision
1 result Searching

Dockerfile

Blame
  • Dockerfile 345 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 tc_prometheus
    
    RUN mkdir /etc/thumbor \
     && thumbor-config > /etc/thumbor.conf
    
    EXPOSE 8888
    EXPOSE 8000
    CMD ["/usr/local/bin/thumbor"]