uncloseai.com/public/languages/python/openai/Dockerfile

17 lines
466 B
Docker

# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# 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"]