FROM python:3.10 WORKDIR /code COPY requirements.txt . RUN pip install --upgrade pip && pip install -r requirements.txt # 👇 This is where you messed up before COPY app.py /code/ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]