add Python example with openai==2.3.0 (latest) and dependency pinning standards to CLAUDE.md

This commit is contained in:
Russell Ballestrini 2025-10-12 15:10:07 -04:00
parent 973c045af6
commit 39502bcac3
7 changed files with 320 additions and 0 deletions

View file

@ -0,0 +1,14 @@
FROM alpine:latest
WORKDIR /app
COPY requirements.txt /app/requirements.txt
COPY examples.py /app/examples.py
RUN chmod +x /app/examples.py
RUN apk --no-cache add python3 py3-pip ca-certificates \
&& pip3 install --break-system-packages -r /app/requirements.txt \
&& rm -rf /var/cache/apk/*
CMD ["python3", "/app/examples.py"]