Skip to content

Commit

Permalink
Dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
DevChima committed Sep 9, 2024
1 parent 2d77f6b commit 55d790e
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 10 deletions.
13 changes: 4 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/praekeltfoundation/python-base-nw:3.9-bullseye as builder
FROM ghcr.io/praekeltfoundation/python-base-nw:3.11-bullseye as builder

ENV PIP_RETRIES=120 \
PIP_TIMEOUT=400 \
Expand Down Expand Up @@ -28,14 +28,9 @@ ENV VIRTUAL_ENV="/venv"
RUN /venv/bin/pip install --upgrade pip && pip install codecov==2.1.13

# Install configuration related dependencies
RUN /venv/bin/pip install --upgrade pip && poetry install --no-interaction --without dev && poetry add \
"django-getenv==1.3.2" \
"django-cache-url==3.2.3" \
"uWSGI==2.0.20" \
"whitenoise==5.3.0" \
"flower==1.0.0"

FROM ghcr.io/praekeltfoundation/python-base-nw:3.9-bullseye
RUN pip install -r requirements.txt

FROM ghcr.io/praekeltfoundation/python-base-nw:3.11-bullseye

ARG RAPIDPRO_VERSION
ENV RAPIDPRO_VERSION=${RAPIDPRO_VERSION:-master}
Expand Down
52 changes: 51 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,57 @@
# configuration related dependencies
django-getenv==1.3.1
django-cache-url==1.3.1
uwsgi==2.0.14
uWSGI==2.0.14
whitenoise==4.0
flower==0.9.2
tornado<6.0.0
python = "^3.9"
Django = "^4.0.6"
django-compressor = "^3.1"
django-countries = "^7.0"
django-hamlpy = "^1.4.4"
django-mptt = "^0.12.0"
django-redis = "^4.12.1"
django-storages = "^1.11.1"
django-timezone-field = "^4.1.1"
djangorestframework = "^3.12.2"
dj-database-url = "^0.5.0"
smartmin = "^4.1.0"
celery = "^5.1.0"
redis = "^3.5.3"
elasticsearch = "^7.11.0"
elasticsearch-dsl = "^7.3.0"
analytics-python = "^1.2.9"
boto3 = "^1.17.21"
cryptography = "3.4.7"
vonage = "2.5.2"
pyfcm = "^1.5.1"
pyotp = "2.4.1"
python-telegram-bot = "^11.1.0"
sentry-sdk = "^1.0.0"
stripe = "^2.56.0"
twilio = "6.24.0"
twython = "3.5.0"
geojson = "^2.5.0"
Markdown = "^3.3.4"
polib = "^1.1.0"
pyexcel = "^0.6.6"
pyexcel-xls = "^0.6.2"
pyexcel-xlsx = "^0.6.0"
python-magic = "^0.4.22"
xlsxlite = "^0.2.0"
colorama = "^0.4.4"
gunicorn = "^20.0.4"
iptools = "^0.7.0"
iso-639 = "^0.4.5"
iso8601 = "^0.1.14"
phonenumbers = "*"
pycountry = "^20.7.3"
python-dateutil = "2.2"
psycopg2-binary = "^2.9.1"
python-intercom = "^3.1.0"
packaging = "^20.9"
requests-toolbelt = "^0.9.1"
chardet = "^4.0.0"
openpyxl = "^3.0.9"

0 comments on commit 55d790e

Please sign in to comment.