diff --git a/deploy.py b/deploy.py index 19b347c..4661fc1 100644 --- a/deploy.py +++ b/deploy.py @@ -88,7 +88,8 @@ files.directory( mode=755 ) -if not host.fact.directory(host.data.undocker_dst): +# If the binary is here, undockerized image should be fine, don't extract again +if not host.fact.file(host.data.undocker_dst+'/photoprism/bin/photoprism'): server.shell( name='Undocker the Docker image', chdir=host.data.undocker_dst,