FROM python:3.10-slim RUN pip install --no-cache-dir fastapi uvicorn tensorflow numpy COPY . /app WORKDIR /app EXPOSE 7860 CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]