Spaces:
Sleeping

voice_assistance / Dockerfile
PavanKumarD's picture
Update Dockerfile
f0339bb verified
Raw History Blame Contribute Delete
371 Bytes
FROM python:3.10-slim-bookworm
RUN apt-get update && apt-get install -y \
libgl1-mesa-glx \
libglib2.0-0 \
build-essential \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /code
COPY . .
COPY models/ models/
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
EXPOSE 7860
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]