Skip to content
This repository has been archived by the owner on Jan 11, 2021. It is now read-only.

Commit

Permalink
Merge pull request #532 from marcgibbons/feature/524-docker-fixups
Browse files Browse the repository at this point in the history
Use entrypoint for Dockerfile #524.
  • Loading branch information
marcgibbons committed Aug 20, 2016
2 parents 571d29e + 49da5fd commit e0d7e91
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ ADD . /code
WORKDIR /code/example_app
VOLUME /code

RUN python manage.py migrate --noinput && python manage.py loaddata users && python manage.py migrate --noinput
CMD python manage.py runserver 0.0.0.0:8000
ENTRYPOINT bash -c "python manage.py migrate --noinput && python manage.py loaddata users && python manage.py runserver 0.0.0.0:8000"

0 comments on commit e0d7e91

Please sign in to comment.