From 8d084ab90a66403414f0f4c9b9ed2dda3842abaa Mon Sep 17 00:00:00 2001 From: sadnub Date: Tue, 23 Feb 2021 23:45:08 -0500 Subject: [PATCH] docker dev changes --- .devcontainer/entrypoint.sh | 2 +- .devcontainer/requirements.txt | 56 ++++++++++++---------------------- 2 files changed, 21 insertions(+), 37 deletions(-) diff --git a/.devcontainer/entrypoint.sh b/.devcontainer/entrypoint.sh index 5255f58b..1c514e1f 100644 --- a/.devcontainer/entrypoint.sh +++ b/.devcontainer/entrypoint.sh @@ -126,7 +126,7 @@ if [ "$1" = 'tactical-init-dev' ]; then test -f "${TACTICAL_READY_FILE}" && rm "${TACTICAL_READY_FILE}" # setup Python virtual env and install dependencies - ! test -e "${VIRTUAL_ENV}" && python -m venv --copies ${VIRTUAL_ENV} + ! test -e "${VIRTUAL_ENV}" && python -m venv ${VIRTUAL_ENV} "${VIRTUAL_ENV}"/bin/pip install --no-cache-dir -r /requirements.txt django_setup diff --git a/.devcontainer/requirements.txt b/.devcontainer/requirements.txt index 5904a1fb..d9478e3d 100644 --- a/.devcontainer/requirements.txt +++ b/.devcontainer/requirements.txt @@ -1,40 +1,24 @@ # To ensure app dependencies are ported from your virtual environment/host machine into your container, run 'pip freeze > requirements.txt' in the terminal to overwrite this file -amqp==5.0.5 -asgiref==3.3.1 -asyncio-nats-client==0.11.4 -billiard==3.6.3.0 -celery==5.0.5 -certifi==2020.12.5 -cffi==1.14.5 -chardet==4.0.0 -cryptography==3.4.6 -decorator==4.4.2 -Django==3.1.7 -django-cors-headers==3.7.0 -django-rest-knox==4.1.0 -djangorestframework==3.12.2 -future==0.18.2 -kombu==5.0.2 -loguru==0.5.3 -msgpack==1.0.2 -packaging==20.8 -psycopg2-binary==2.8.6 -pycparser==2.20 -pycryptodome==3.10.1 -pyotp==2.6.0 -pyparsing==2.4.7 -pytz==2021.1 -qrcode==6.1 -redis==3.5.3 -requests==2.25.1 -six==1.15.0 -sqlparse==0.4.1 -twilio==6.52.0 -urllib3==1.26.3 -validators==0.18.2 -vine==5.0.0 -websockets==8.1 -zipp==3.4.0 +asyncio-nats-client +celery +Django +django-cors-headers +django-rest-knox +djangorestframework +loguru +msgpack +psycopg2-binary +pycparser +pycryptodome +pyotp +pyparsing +pytz +qrcode +redis +twilio +packaging +validators +websockets black Werkzeug django-extensions