Skip to content

Commit

Permalink
Issue #71 chore: Refactor dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Manojvv committed Mar 20, 2018
1 parent 6d61ca1 commit a4c6d22
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions images/openbadger/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,7 @@ RUN /tmp/configure.sh
# Application running on 8000
EXPOSE 8000
WORKDIR /badger
COPY ./images/openbadger/entrypoint.sh /badger

# Copying custom db settings, Please note that this will be permenant
# after image creation, though you can login and change it.
#COPY settings_local.py /badger/code/apps/mainsite/settings_local.py

# Creating DBSchema
#RUN python /badger/code/manage.py migrate

# You have to login to the container and create a super user
# code/manage.py createsuperuser

ENTRYPOINT ["/badger/code/manage.py", "runserver", "0.0.0.0:8000"]
ENTRYPOINT ["entrypoint.sh"]

0 comments on commit a4c6d22

Please sign in to comment.