10 lines
423 B
Docker
10 lines
423 B
Docker
FROM python:3.11-slim
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg git && rm -rf /var/lib/apt/lists/*
|
|
WORKDIR /app
|
|
# CPU fallback avatar path: pre-render + stream low-fps frames
|
|
RUN pip install --no-cache-dir opencv-python-headless numpy
|
|
COPY services/avatar-cpu/server.py /app/server.py
|
|
VOLUME ["/app/reference"]
|
|
EXPOSE 5003
|
|
CMD ["python", "server.py"] |