title: Can I Run a dotnet app which is hosted on IIS in a docker container?
body: <p>I have developed a web application using asp dotnet and currently I have it running on IIS is there anyway I can run the same app in a docker container,</p>
  
  <p>I am relatively new to Docker and I have played around a bit and I am familiar with docker compose , so I was wondering if I can (dockerize) the application that I have developed.</p>
  
  <p>My Dockerfile now looks like:</p>
  
  <pre><code>#Making a dotnet container
  FROM microsoft/dotnet:latest
  
  #Make a directory
  WORKDIR /app
  
  #copy dll files and other dependencies
  COPY . /app
  
  #dotnet run should run the app
  ENTRYPOINT ["DOTNET","RUN"]
  </code></pre>
  
  <p>From what I understand this makes a directory inside my dotnet container and copies the files in the current folder and the app will run on dotnet run</p>