FROM python:3.10 WORKDIR /app COPY . . RUN pip install --no-cache-dir torch torchvision --index-url https://download.pytorch.org/whl/cpu RUN pip install --no-cache-dir fastapi uvicorn python-multipart pillow numpy super-image RUN pip install --no-cache-dir --force-reinstall opencv-python-headless EXPOSE 7860 CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]