From 25dbebd5b72a6db36860b745a3035d856d998e5f Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Fri, 16 Jul 2021 15:17:27 +0200 Subject: [PATCH] People: Add facenet.zip to development base image #22 #1406 --- Makefile | 2 ++ docker/development/Dockerfile | 1 + 2 files changed, 3 insertions(+) diff --git a/Makefile b/Makefile index f25fd27ed..abddc889f 100644 --- a/Makefile +++ b/Makefile @@ -92,6 +92,8 @@ dep-tensorflow: scripts/download-facenet.sh scripts/download-nasnet.sh scripts/download-nsfw.sh +zip-facenet: + (cd assets && zip -r facenet.zip facenet -x "*/.*" -x "*/version.txt") zip-nasnet: (cd assets && zip -r nasnet.zip nasnet -x "*/.*" -x "*/version.txt") zip-nsfw: diff --git a/docker/development/Dockerfile b/docker/development/Dockerfile index 4721fee8e..d1b1eecb6 100644 --- a/docker/development/Dockerfile +++ b/docker/development/Dockerfile @@ -113,6 +113,7 @@ RUN /root/.local/bin/install-go.sh ${TARGETARCH} RUN rm -rf /tmp/* && mkdir -p /tmp/photoprism && \ wget "https://dl.photoprism.org/tensorflow/nsfw.zip?${BUILD_TAG}" -O /tmp/photoprism/nsfw.zip && \ wget "https://dl.photoprism.org/tensorflow/nasnet.zip?${BUILD_TAG}" -O /tmp/photoprism/nasnet.zip && \ + wget "https://dl.photoprism.org/tensorflow/facenet.zip?${BUILD_TAG}" -O /tmp/photoprism/facenet.zip && \ wget "https://dl.photoprism.org/qa/testdata.zip?${BUILD_TAG}" -O /tmp/photoprism/testdata.zip # Install additional tools