FROM python:3.10 AS lite
WORKDIR /app
# Install pandoc and netcat
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
pandoc \
netcat-openbsd \
libgl1-mesa-glx \
libglib2.0-0 \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.lite.txt .
RUN pip install --no-cache-dir -r requirements.lite.txt
COPY . .
CMD ["python", "main.py"]