Last active
February 17, 2018 13:44
-
-
Save kadel/1942dc28af64d35a49cf73eb613f87eb to your computer and use it in GitHub Desktop.
Dockerfile pro SKI
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:18.04 | |
| RUN apt-get update && \ | |
| apt-get -y upgrade && \ | |
| apt-get -y install python python-pip libjpeg-dev zlib1g-dev && \ | |
| apt-get clean | |
| RUN mkdir /code | |
| WORKDIR /code | |
| ADD requirements.txt /code/ | |
| RUN pip install -r requirements.txt | |
| ADD . /code/ | |
| CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment