16 lines
528 B
Docker
16 lines
528 B
Docker
# pantry-vision — camera-driven grocery cataloguing API (docs/project-plan.md Phase
|
|
# 17). `restart: unless-stopped`, same as admin-canvas: it has to be up whenever the
|
|
# kitchen display might hold an item up to the camera.
|
|
FROM python:3.11-slim
|
|
|
|
ENV PYTHONUNBUFFERED=1 \
|
|
PYTHONDONTWRITEBYTECODE=1
|
|
|
|
WORKDIR /app
|
|
|
|
# stdlib only (urllib for the Ollama/Grocy calls, sqlite3 for doorway.py's hint
|
|
# store) — no requirements.txt, same call as admin-canvas/server.py.
|
|
COPY server.py doorway.py ./
|
|
|
|
CMD ["python", "server.py"]
|