dockerfile
This commit is contained in:
parent
e557bda281
commit
a123ab0640
|
|
@ -0,0 +1,66 @@
|
||||||
|
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==3.1
|
||||||
|
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 psycopg2-binary
|
||||||
|
RUN pip install python-dateutil
|
||||||
|
RUN pip install Werkzeug
|
||||||
|
RUN pip install django-extensions
|
||||||
|
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
|
||||||
|
|
||||||
|
|
||||||
|
## PYTHON FOR DEV
|
||||||
|
RUN pip install ipython
|
||||||
|
RUN pip install ipdb
|
||||||
|
RUN pip install django_debug_toolbar
|
||||||
|
|
||||||
|
|
||||||
|
## POSTGRES CLIENT
|
||||||
|
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 djoser
|
||||||
|
# RUN pip install -U djangorestframework_simplejwt
|
||||||
|
# RUN pip install -U social-auth-app-django
|
||||||
|
# RUN pip install -U django-templated-mail
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
RUN python --version
|
||||||
|
RUN django-admin --version
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue