Created
October 25, 2016 09:15
-
-
Save tag1216/d1044fe7c33c1991b82820acfd56b85e to your computer and use it in GitHub Desktop.
Docker django
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
FROM ubuntu:latest | |
RUN apt-get update && apt-get -y upgrade | |
RUN apt-get -y install build-essential | |
RUN apt-get -y install python3-dev | |
RUN apt-get -y install curl | |
RUN cd /usr/bin \ | |
&& ln -s python3 python | |
RUN curl -kL https://bootstrap.pypa.io/get-pip.py | python | |
RUN pip install django | |
RUN mkdir /mysite \ | |
&& cd /mysite \ | |
&& django-admin startproject mysite . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment