title: How to serve static content in a Node Express container with Docker?
body: <p>I used express generator to create a project, which automatically includes the public folder in app.js ...</p>
  
  <p>I am trying to display an image in my index.ejs but it is not working ...
  what would be the correct url to use?</p>
  
  <p>After looking online it says that the src should be this img src="localhost:8000/images/1.png" </p>
  
  <p>However, I am using docker toolbox, so I'm using the docker quick start terminal and I got it to work by using the docker i.p</p>
  
  <p>so its like img src="127.432.343:8000/images/1.png" 
  but that IP is specific to my computer I want my co-workers to be able to see the image without having to refactor the code ...</p>
  
  <p>the name of my container is web so I also tried I tried      src="web:8000/images/1.png"</p>
  
  <p>But this doesn't work, I feel like it should though, any tips please been trying for hours here.</p>
  
  <p>Also if this were to go to production on a server, what would be the best way to do that? I don't want to have to change the code if I end up uploading it to AWS ...</p>