FROM python:3.9 #-slim WORKDIR /app COPY requirements.txt ./ RUN pip install -r requirements.txt # COPY main.py ./ # COPY assets/ ./ EXPOSE 7860 # CMD [ "python", "app.py" ] COPY . . CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]