From 9aa2cf458573f98258482c43691dd3cc24412540 Mon Sep 17 00:00:00 2001 From: Sefik Ilkin Serengil Date: Tue, 2 Jan 2024 21:52:20 +0000 Subject: [PATCH] script fixed - Dockerfile is in the root, changed directory to parent - built image name and run image were different --- scripts/dockerize.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/dockerize.sh b/scripts/dockerize.sh index a54af014..0d5ac6e0 100644 --- a/scripts/dockerize.sh +++ b/scripts/dockerize.sh @@ -1,3 +1,6 @@ +# Dockerfile is in the root +cd .. + # start docker # sudo service docker start @@ -8,7 +11,7 @@ # docker rm -f $(docker ps -a -q --filter "ancestor=deepface") # build deepface image -docker build -t deepface_image . +docker build -t deepface . # copy weights from your local # docker cp ~/.deepface/weights/. :/root/.deepface/weights/