FROM nvidia/cuda:12.1.0-base-ubuntu22.04 ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y \ python3.10 \ python3-pip \ ffmpeg \ curl \ fonts-wqy-microhei \ && rm -rf /var/lib/apt/lists/* WORKDIR /app COPY ./requirements.txt /app/requirements.txt RUN pip3 install --no-cache-dir --upgrade -r /app/requirements.txt COPY . /app EXPOSE 7070 CMD ["sh", "-c", "uvicorn ai_server:app --host 0.0.0.0 --port 7070"]