title: Exposing Flask App within Docker to Internet
body: <p>I have a Python Flask App running inside a Docker container in the default port 500. This is on a Ubuntu server.</p>
  <p>I am able to access the Flask App through local host as follows:</p>
  <pre><code>URL = &quot;http://127.0.0.1:5000/get_image&quot;
  </code></pre>
  <p>Would like to know how to expose this server to outside world. I would like to use the server IP to expose the service so that others can access it as well.</p>
  <p>Can some one guide on how to expose this docket to internet? Thank you</p>