store-intelligence / docker /Dockerfile
SandeepChakka's picture
Deploy Store Intelligence API + dashboard with multi-store config, camera visuals audit, event pipeline exits, and WebSocket isolation fix
78d4e18
Raw History Blame Contribute Delete
594 Bytes
FROM python:3.11-slim-bookworm
RUN apt-get update && apt-get install -y --no-install-recommends \
libgl1 libglib2.0-0 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
RUN pip install --no-cache-dir torch torchvision \
--index-url https://download.pytorch.org/whl/cpu
COPY requirements-docker.txt .
RUN pip install --no-cache-dir -r requirements-docker.txt
COPY . .
RUN sed -i 's/\r$//' docker/entrypoint.sh \
&& chmod +x docker/entrypoint.sh
ENV PYTHONPATH=/app
ENV EVENTS_JSONL=/app/data/events/output.jsonl
EXPOSE 8000
ENTRYPOINT ["/bin/sh", "/app/docker/entrypoint.sh"]