Skip to content
Snippets Groups Projects
Commit e7024915 authored by Jan Grewe's avatar Jan Grewe
Browse files

add prometheus metrics plugin, expose 8000/tcp

add remotecv and redis
use CMD instead of ENTRYPOINT to reuse image for remotecv
parent 7eb746d3
No related branches found
No related tags found
No related merge requests found
......@@ -4,11 +4,11 @@ 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
RUN pip install thumbor opencv-python remotecv redis tc_prometheus
RUN mkdir /etc/thumbor \
&& thumbor-config > /etc/thumbor/thumbor.conf
&& thumbor-config > /etc/thumbor.conf
EXPOSE 8888
ENTRYPOINT ["/usr/local/bin/thumbor"]
CMD ["--conf", "/etc/thumbor/thumbor.conf"]
EXPOSE 8000
CMD ["/usr/local/bin/thumbor"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment