django-cms/Dockerfile

12 lines
320 B
Docker
Raw Normal View History

2018-04-17 00:57:29 +00:00
FROM python:2.7
WORKDIR /src
2018-04-17 01:02:30 +00:00
ADD ./cms /src
2018-04-17 00:57:29 +00:00
RUN set -ex \
&& curl -L https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh -o /usr/local/bin/wait-for-it.sh \
&& chmod +x /usr/local/bin/wait-for-it.sh \
&& pip install -r requirements.txt
CMD python manage.py runserver 0.0.0.0:8000