Files
drivers_bot/Dockerfile
2026-05-14 19:33:25 +09:00

18 lines
380 B
Docker

FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
WORKDIR /app
RUN apt-get update \
&& apt-get install -y --no-install-recommends gcc libpq-dev tesseract-ocr tesseract-ocr-eng tesseract-ocr-rus tesseract-ocr-kor \
&& rm -rf /var/lib/apt/lists/*
COPY pyproject.toml ./
COPY app ./app
COPY bot ./bot
RUN pip install --no-cache-dir .
COPY . .