VoiceVision-AI / Dockerfile
azizmeer40's picture
Create Dockerfile
743b535 verified
raw
history blame contribute delete
493 Bytes
# Python base image
FROM python:3.10-slim
# System dependencies (Updated for OpenCV)
RUN apt-get update && apt-get install -y \
libgl1 \
libglib2.0-0 \
&& rm -rf /var/lib/apt/lists/*
# Working directory
WORKDIR /app
# Sabse pehle requirements copy karein aur install karein (Faster build)
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Baqi sara code copy karein
COPY . .
# Hugging Face port
EXPOSE 7860
# App run karein
CMD ["python", "app.py"]