open-voice-agent / Dockerfile
dvalle08's picture
Add README.md for project documentation and update Dockerfile to include it.
40f73fa
raw
history blame contribute delete
455 Bytes
FROM python:3.12-slim
WORKDIR /app
RUN apt-get update && apt-get install -y \
build-essential \
curl \
git \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install uv
COPY pyproject.toml uv.lock README.md ./
RUN uv sync --frozen --no-dev
COPY src/ ./src/
COPY start.sh ./
RUN chmod +x /app/start.sh
ENV PATH="/app/.venv/bin:$PATH"
EXPOSE 8501
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
ENTRYPOINT ["/app/start.sh"]