From: lombardofr Date: Thu, 19 Jul 2018 07:01:56 +0000 (+0200) Subject: removed obsolete command from the Dockerfile X-Git-Tag: BUILD_v4.0.1_1~4 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F71%2F6371%2F1;p=osm%2FLW-UI.git removed obsolete command from the Dockerfile Change-Id: Ic59d0da91851cd3bc8fd2642cb651a36d349dadb Signed-off-by: lombardofr --- diff --git a/Dockerfile b/Dockerfile index 0b2f05a..9fa01d0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,8 +17,6 @@ RUN rm -f db.sqlite3 RUN python manage.py makemigrations sf_user projecthandler instancehandler vimhandler RUN python manage.py migrate -RUN python manage.py shell -c "from projecthandler.osm_model import OsmProject; from sf_user.models import CustomUser; CustomUser.objects.create_superuser('admin', 'admin'); admin = CustomUser.objects.get(username='admin'); OsmProject.create_project('admin',admin,True, 'project admin','')" - EXPOSE 80 CMD ["python", "manage.py", "runserver", "0.0.0.0:80"]