first commit
This commit is contained in:
21
Dockerfile
Normal file
21
Dockerfile
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
FROM python:3.11-slim
|
||||
|
||||
# Install system deps for OpenCV + ffmpeg
|
||||
RUN apt-get update && apt-get install -y \
|
||||
ffmpeg \
|
||||
libgl1 \
|
||||
libglib2.0-0 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install Python deps
|
||||
RUN pip install --no-cache-dir \
|
||||
opencv-python-headless \
|
||||
numpy \
|
||||
requests
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY desk_presence.py /app/desk_presence.py
|
||||
|
||||
CMD ["python", "/app/desk_presence.py"]
|
||||
Reference in New Issue
Block a user