Files
tg_post_min/Dockerfile
2025-08-20 21:10:31 +09:00

17 lines
338 B
Docker

FROM python:3.12-slim
WORKDIR /app
# System deps
RUN apt-get update -y && apt-get install -y --no-install-recommends build-essential && rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN chmod +x ./entrypoint.sh
ENV PYTHONUNBUFFERED=1
CMD ["./entrypoint.sh"]