face-detector: update docker file for haarcascade
diff --git a/apps/face-detection/Dockerfile b/apps/face-detection/Dockerfile
index 36a6067..befcba5 100644
--- a/apps/face-detection/Dockerfile
+++ b/apps/face-detection/Dockerfile
@@ -1,10 +1,18 @@
-FROM python:3
+FROM ubuntu:20.04
 
-RUN pip install torch --no-cache-dir
-RUN pip install torchvision --no-cache-dir
-RUN pip install facenet-pytorch --no-cache-dir
-RUN pip install opencv-python-headless --no-cache-dir
-RUN pip install matplotlib --no-cache-dir
+# RUN pip install torch --no-cache-dir
+# RUN pip install torchvision --no-cache-dir
+# RUN pip install facenet-pytorch --no-cache-dir
+# RUN pip install opencv-python-headless --no-cache-dir
+# RUN pip install matplotlib --no-cache-dir
 
-WORKDIR /src/go/src/github.com/giolekva/pcloud/face
-COPY .  /src/go/src/github.com/giolekva/pcloud/face
\ No newline at end of file
+# RUN pip install numpy
+
+RUN apt-get -y update
+RUN DEBIAN_FRONTEND=noninteractive apt-get -y install \
+    python3 \
+    python3-numpy \
+    python3-opencv
+
+WORKDIR /app
+COPY . /app
\ No newline at end of file
diff --git a/apps/face-detection/deploy.yaml b/apps/face-detection/deploy.yaml
index 0421e43..83f0c7f 100644
--- a/apps/face-detection/deploy.yaml
+++ b/apps/face-detection/deploy.yaml
@@ -5,15 +5,8 @@
 spec:
   containers:
   - name: detect-faces
-    image: face-detector:latest
-    imagePullPolicy: Never
-    volumeMounts:
-    - name: code
-      mountPath: /src/go/src/github.com/giolekva/pcloud/face
-    command: ["python", "main.py"]
-    args: ["http://pcloud-controller-service.pcloud.svc:1111/graphql", "http://minio-hl-svc.minio.svc:9000", "0x2"]
-  volumes:
-  - name: code
-    hostPath:
-      path: "/Users/lekva/dev/go/src/github.com/giolekva/pcloud/face"
+    image: giolekva/face-detector:latest
+    imagePullPolicy: Always
+    command: ["python3", "main.py"]
+    args: ["http://api.pcloud.svc:1111/graphql", "http://minio.minio.svc:9000", "0x3"]
   restartPolicy: Never