FROM nvcr.io/nvidia/pytorch:23.12-py3 WORKDIR /code RUN pip install ultralytics RUN pip install opencv-python==4.6.0.66 RUN pip install Pillow==10.3.0 RUN pip install uvicorn fastapi RUN apt update && apt install fonts-dejavu -y RUN wget https://github.com/ultralytics/assets/releases/download/v8.2.0/yolov8l-pose.pt COPY . . CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] # curl -X POST "https://unfinity-yolov8-pose.hf.space/predict-image" -F "file=@Cam06.jpg"