title: can't turn on docker-compose with FastAPI "exec: "uvicorn": executable file not found in $PATH"
body: <p>I'm trying to run docker-compose with fastApi app, however I'm getting error</p>
  <pre><code>Cannot start service producer: OCI runtime create failed: container_linux.go:367: starting container process caused: exec: &quot;uvicorn&quot;: executable file not found in $PATH: unknown
  </code></pre>
  <p>my Dockerfiles looks like that</p>
  <pre><code>FROM python:3.9-alpine
  WORKDIR /code/producer
  COPY requirements.txt requirements.txt
  RUN pip install -r requirements.txt
  COPY *.py /code/producer
  CMD [&quot;uvicorn&quot;, &quot;api:app&quot;, &quot;--host&quot;, &quot;0.0.0.0&quot;, &quot;--port&quot;, &quot;80&quot;]
  </code></pre>
  <p>what am I doing wrong?</p>