CoolFace
Apppublic

anikasoni/fall-detection-api

sourceHugging Facemitupdated 10mo agoView on Hugging Face
0likes
Dockerfile19 linesDownload Raw Back to root
1FROM python:3.10-slim
2
3# Install system dependencies needed by OpenCV (libGL + glib)
4RUN apt-get update && apt-get install -y \
5    libgl1 \
6    libglib2.0-0 \
7 && rm -rf /var/lib/apt/lists/*
8
9WORKDIR /app
10
11COPY requirements.txt .
12RUN pip install --no-cache-dir -r requirements.txt
13
14COPY . .
15
16EXPOSE 7860
17
18CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
19