71 lines
1.6 KiB
Plaintext
71 lines
1.6 KiB
Plaintext
from python:3.8-slim
|
|
|
|
## UPDATE
|
|
RUN apt-get update
|
|
RUN apt-get upgrade -y
|
|
RUN pip install pip --upgrade
|
|
|
|
## PYTHON
|
|
RUN pip install django==2.2
|
|
RUN pip install djangorestframework==3.11
|
|
RUN pip install requests
|
|
RUN pip install django-jet
|
|
RUN pip install gunicorn
|
|
RUN pip install django-admin-rangefilter
|
|
RUN pip install sentry-sdk
|
|
RUN pip install python-dateutil
|
|
RUN pip install Werkzeug
|
|
RUN pip install django-solo
|
|
RUN pip install django-admin-sortable2
|
|
RUN pip install admin-totals
|
|
RUN pip install django-tenants
|
|
RUN pip install mollie-api-python
|
|
RUN pip install markdown # Markdown support for the browsable API.
|
|
RUN pip install django-filter # Filtering support
|
|
RUN pip install djoser
|
|
RUN pip install djangorestframework_simplejwt
|
|
RUN pip install social-auth-app-django
|
|
|
|
|
|
## PYTHON FOR DEV
|
|
RUN pip install ipython
|
|
RUN pip install ipdb
|
|
RUN pip install django_debug_toolbar
|
|
RUN pip install django-extensions
|
|
|
|
|
|
## POSTGRES CLIENT
|
|
RUN pip install psycopg2-binary==2.8.6
|
|
RUN mkdir -p /usr/share/man/man1
|
|
RUN mkdir -p /usr/share/man/man7
|
|
RUN apt-get install -y --no-install-recommends postgresql-client
|
|
|
|
|
|
## LATER ?
|
|
# RUN pip install mailchimp3
|
|
# RUN apt install cron -y
|
|
# RUN apt install curl -y
|
|
# RUN apt install borgbackup -y
|
|
# RUN pip install inotify
|
|
# RUN pip install django-silk
|
|
# RUN apt install openssh-client -y
|
|
# RUN pip install beautifulsoup4
|
|
RUN pip install Pillow
|
|
RUN pip install django-stdimage
|
|
# RUN pip install django-crispy-forms
|
|
# RUN pip install reportlab
|
|
|
|
# RUN pip install -U social-auth-app-django
|
|
# RUN pip install -U django-templated-mail
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RUN python --version
|
|
RUN django-admin --version
|
|
|
|
|