From e7024915b1ca33aaaba8dddfdb724fcf9cb5a822 Mon Sep 17 00:00:00 2001
From: Jan Grewe <jan@faked.org>
Date: Thu, 12 Dec 2019 02:22:25 +0100
Subject: [PATCH] add prometheus metrics plugin, expose 8000/tcp add remotecv
 and redis use CMD instead of ENTRYPOINT to reuse image for remotecv

---
 Dockerfile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 1e9594a..2ebe902 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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"]
-- 
GitLab