From: Emilie Zawadzki Date: Tue, 8 Sep 2020 15:13:15 +0000 (+0200) Subject: Add option to install packages with poetry X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=c66a41fb0906a85c6d5d1f82decdc36a65e52353;p=docker-django-scripts.git Add option to install packages with poetry --- diff --git a/prod/upgrade.sh b/prod/upgrade.sh index 927b295..939ae49 100755 --- a/prod/upgrade.sh +++ b/prod/upgrade.sh @@ -35,6 +35,9 @@ while [ "$1" != "" ]; do -m | --migrate) docker-compose run app python /srv/app/manage.py migrate --noinput ;; + -i | --install) + docker-compose exec app poetry install --no-root + ;; -f | --front) docker-compose run app python /srv/app/manage.py build-front ;;