From cb448d6d5f6e999890f109e7c03414663123de72 Mon Sep 17 00:00:00 2001 From: Sefik Ilkin Serengil Date: Mon, 3 Jun 2024 20:19:05 +0100 Subject: [PATCH] use docker hub by default --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9069f4d..81e1cd8 100644 --- a/README.md +++ b/README.md @@ -321,11 +321,11 @@ Face recognition, facial attribute analysis and vector representation functions [![Docker Pulls](https://img.shields.io/docker/pulls/serengil/deepface?logo=docker)](https://hub.docker.com/r/serengil/deepface) -You can deploy the deepface api on a kubernetes cluster with docker. The following [shell script](https://github.com/serengil/deepface/blob/master/scripts/dockerize.sh) will serve deepface on `localhost:5005`. You may need to re-configure the [Dockerfile](https://github.com/serengil/deepface/blob/master/Dockerfile) if you want to apply some customization. Then, even if you do not have a development environment, you will be able to consume deepface services such as verify and analyze. You can also access the inside of the docker image to run deepface related commands. Please follow the instructions in the [shell script](https://github.com/serengil/deepface/blob/master/scripts/dockerize.sh). +The following command set will serve deepface on `localhost:5005` via docker. Then, you will be able to consume deepface services such as verify, analyze and represent. Also, if you want to build the image by your own instead of pre-built image from docker hub, [Dockerfile](https://github.com/serengil/deepface/blob/master/Dockerfile) is available in the root folder of the project. ```shell -cd scripts -./dockerize.sh +docker pull serengil/deepface +docker run -p 5005:5000 serengil/deepface ```