title: How do I deploy a Streamlit app via Azure Container Apps?
body: <p>I am trying to deploy a Streamlit app via Docker on Azure Container Apps. This is what the docker file looks like:</p>
  <pre><code>FROM python:3.9
  
  RUN mkdir /workdir
  WORKDIR /workdir
  COPY ./requirements.txt .
  
  RUN pip install -r requirements.txt
  COPY . .
  
  EXPOSE 8080
  
  CMD streamlit run --server.port 8080 --server.enableCORS false app.py
  </code></pre>
  <p>I tested it localy using this script:</p>
  <pre><code># Build docker image
  docker build . -t image123ABC
  
  # Serve locally
  docker run -p 8080:8080 image123ABC
  </code></pre>
  <p>Locally this works fine.</p>
  <p>I deployed it to the Azure Container Registry and tried to create an Azure Container App from it, but it resulted in a page that never finishes loading.</p>
  <p>Did I do something wrong?</p>