Created
April 6, 2015 14:37
-
-
Save aaronlelevier/db9efbbd1419e2e36d6f to your computer and use it in GitHub Desktop.
Dockerfile for django-postgres-nginx-uswgi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Docker Commands ### | |
| FROM ubuntu:trusty | |
| RUN apt-get update | |
| RUN DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential git python libpq-dev python-dev python-setuptools nginx supervisor | |
| RUN DEBIAN_FRONTEND=noninteractive apt-get install -y postgresql postgresql-contrib | |
| RUN easy_install pip | |
| RUN pip install django==1.7.7 pyscopg2 uwsgi | |
| ### Bash commands ### | |
| apt-get update | |
| apt-get upgrade | |
| apt-get install python-dev python-setuptools | |
| easy_install pip | |
| apt-get install libpq-dev python-dev | |
| apt-get install postgresql postgresql-contrib | |
| apt-get install -y build-essential git nginx supervisor | |
| pip install django==1.7.7 psycopg2 uwsgi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment