django 1.10 in python 3.5-alphine
224
v3.5.5django==1.10
djangorestframework==3.6.4
django-cors-headers==2.1.0
django-extensions==1.9.0
mysqlclient==1.3.12
djangorestframework-jwt==1.11
Werkzeug==0.12.2
psycopg2
numpy==1.13.1
pandas==0.20.3
matplotlib==2.0.2
https://github.com/OnlyBelter/docker-repo/blob/master/metdna/django-py35/Dockerfile
version: '2.2'
services:
djangoApp:
image: onlybelter/django_py35_new
restart: always
command: /bin/sh -c "python /code/check_db.py --service-name mysql --ip db --port 3306 &&
python manage.py makemigrations &&
python manage.py migrate &&
addgroup -g 992 -S nginx || true &&
adduser -u 996 -S -D -G nginx nginx || true &&
uwsgi --ini /code/config/uwsgi/metdna.ini"
working_dir: /code/web/myApp
volumes:
- .:/code
- /run/uwsgi:/run/uwsgi # uwsgi unix socket, communicate with nginx
# - /mnt/data/myApp-upload:/mnt/data/myApp-upload # for MEDIA_ROOT of django
- /mnt/local-disk1/myApp-upload:/mnt/data/myApp-upload # MEDIA_ROOT(where to store uploaded files) of django(local server)
# - /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
...
Content type
Image
Digest
Size
171.3 MB
Last updated
over 7 years ago
docker pull onlybelter/django_py35_new