Skip to content

Instantly share code, notes, and snippets.

@kadel
Last active February 17, 2018 13:44
Show Gist options
  • Select an option

  • Save kadel/1942dc28af64d35a49cf73eb613f87eb to your computer and use it in GitHub Desktop.

Select an option

Save kadel/1942dc28af64d35a49cf73eb613f87eb to your computer and use it in GitHub Desktop.
Dockerfile pro SKI
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