chore: del move and update qr with dockerfile

This commit is contained in:
d3m0k1d
2026-04-29 14:46:41 +03:00
parent d3a2fe0f9c
commit 2b4d6c3441
9 changed files with 126 additions and 455 deletions
+17
View File
@@ -0,0 +1,17 @@
FROM python:3.11-slim
RUN apt-get update && apt-get install -y \
libzbar0 \
libzbar-dev \
libgl1-mesa-glx \
libglib2.0-0 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY scanner.py .
CMD ["python", "scanner.py"]