I have created a python application using flask module and tested it locally and it is working fine. So i have tried to deploy it using a ubuntu docker container, but now the application is not loading from browser.
sudo docker run -d -p 5000:5000 --name p-email-ubuntu-cont app-ubuntu-img
tried loading localhost:5000 and ContainerIP:5000 but none of this is not loading.
Dockerfile:
FROM ubuntu
MAINTAINER Sreejith
RUN apt-get update
RUN apt-get install -y python
RUN apt-get install -y python-pip
RUN pip install flask
RUN pip install requests
COPY MANAGE/ /home/deployment/
WORKDIR /home/deployment
EXPOSE 5000
CMD python ./manage.py
Any suggesions?