yolo-app / Dockerfile
starphy's picture
Upload 6 files
9ceb24a verified
Raw
History Blame Contribute Delete
370 Bytes
FROM python:3.9-slim
WORKDIR /app
# Install system dependencies for OpenCV
RUN apt-get update && apt-get install -y \
libgl1 \
libglib2.0-0 \
libsm6 \
libxext6 \
libxrender-dev \
libxcb1 \
&& rm -rf /var/lib/apt/lists/*
COPY . .
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 5000
CMD ["python", "app.py"]