# Pin to specific Python version (checked 2025-10-12: python:3.13-alpine is latest stable)
FROM python:3.13-alpine

WORKDIR /app

COPY requirements.txt /app/requirements.txt
COPY uncloseai.py /app/uncloseai.py

RUN chmod +x /app/uncloseai.py

RUN pip3 install --no-cache-dir -r /app/requirements.txt

CMD ["python3", "/app/uncloseai.py"]
