RealChar / Dockerfile
pycui's picture
Add RealChar deployment for HuggingFace (V0)
babeaf6
raw
history blame
605 Bytes
FROM python:slim
# Install system-level dependencies
RUN apt-get update && apt-get install -y build-essential portaudio19-dev libffi-dev libssl-dev ffmpeg
WORKDIR /realtime_ai_character
# Install Python dependencies
COPY requirements.txt /realtime_ai_character
RUN pip install -r /realtime_ai_character/requirements.txt
# Copy the project files
COPY ./ /realtime_ai_character
# Expose 7860 port from the docker image.
EXPOSE 7860
# Make the entrypoint script executable
RUN chmod +x /realtime_ai_character/entrypoint.sh
# Run the application
CMD ["/bin/sh", "/realtime_ai_character/entrypoint.sh"]