CoolFace
Apppublic

Sam3838/test01

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
Dockerfile19 linesDownload Raw Back to root
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"]