From 67aa8f5f6699e0d7a48aaa164aa0f3126855f6c7 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 9 Apr 2022 20:02:57 +0200 Subject: docker: use pip install --target --- docker/entrypoint.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'docker') diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index f8bd832..6e755b3 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -11,7 +11,6 @@ schedule="${SCHEDULE:-once}" case "$schedule" in once) - . /tmp/venv/bin/activate exec "$@" ;; 15min) schedule='*/15 * * * *' ;; @@ -23,7 +22,7 @@ case "$schedule" in esac script="#!/bin/bash -cd /usr/src && . /tmp/venv/bin/activate &&$( printf -- ' %q' "$@" )" +cd /usr/src &&$( printf -- ' %q' "$@" )" echo "$script" > /task.sh chmod +x /task.sh -- cgit v1.2.3