django-gallery/Dockerfile

12 lines
316 B
Docker
Raw Permalink Normal View History

FROM python:2.7
WORKDIR /src
ADD . /src
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 \
2018-03-09 04:29:30 +00:00
&& pip install -r requirements.txt
CMD python manage.py runserver 0.0.0.0:8000