django-gallery/Dockerfile
c0de 88d195c207 Initial Commit
This project will be to create an image gallery
with support for private 'folders' as well as other
ideas that I have
2018-03-08 19:23:19 -06:00

13 lines
366 B
Docker

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 \
&& pip install -r requirements.txt \
&& python manage.py collectstatic --noinput
CMD python manage.py runserver 0.0.0.0:8000