Docker+Django, server running but welcome page not showing

Viewed 1876

When I run my dockerfile, I get the right output:

Performing system checks...
System check identified no issues (0 silenced).
July 31, 2017 - 11:00:32
Django version 1.11.3, using settings 'tufleur.settings'
Starting development server at http://127.0.0.1:8002/
Quit the server with CONTROL-C.

This is my dockerfile

FROM django:onbuild
# Install Python dependencies
RUN  pip install django
#CMD ["pwd"]
RUN ./manage.py makemigrations
RUN ./manage.py migrate
#RUN ./manage.py collectstatic
EXPOSE 8002
#Run Server
CMD ./manage.py runserver 127.0.0.1:8002

But in the browser the django welcome page is not showing,

can you help me to find the problem, because I can't find any

1 Answers
Related