diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-04-09 20:02:57 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-04-09 20:02:57 +0200 |
commit | 67aa8f5f6699e0d7a48aaa164aa0f3126855f6c7 (patch) | |
tree | 720c616663a67006d3717e92c8d5ffa3c57f5926 /docker | |
parent | frontend: pip -> pip3 for consistency (diff) | |
download | cgitize-67aa8f5f6699e0d7a48aaa164aa0f3126855f6c7.tar.gz cgitize-67aa8f5f6699e0d7a48aaa164aa0f3126855f6c7.zip |
docker: use pip install --target
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/entrypoint.sh | 3 |
1 files changed, 1 insertions, 2 deletions
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 |