reorganize Python with openai-client and requests subdirs, pin to python:3.13-alpine, add Docker image consistency standards

This commit is contained in:
Russell Ballestrini 2025-10-12 15:17:12 -04:00
parent 39502bcac3
commit 4941cce333
8 changed files with 150 additions and 14 deletions

View file

@ -0,0 +1,13 @@
# 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 examples.py /app/examples.py
RUN chmod +x /app/examples.py
RUN pip3 install --no-cache-dir -r /app/requirements.txt
CMD ["python3", "/app/examples.py"]