Sam3838/test01
0
1# Use official Python runtime as a parent image2FROM python:3.10-slim3 4# Set working directory5WORKDIR /app6 7# Copy requirements.txt and install dependencies8COPY requirements.txt .9 10RUN pip install --no-cache-dir -r requirements.txt11 12# Copy the application code13COPY openai_wrapper.py .14 15# Expose port 8000 for the FastAPI app16EXPOSE 786017 18# Command to run the app with uvicorn19CMD ["uvicorn", "openai_wrapper:app", "--host", "0.0.0.0", "--port", "7860"]