FROM ubuntu:22.04 # Install system dependencies RUN apt-get update && \ apt-get install -y \ build-essential \ libssl-dev \ zlib1g-dev \ libboost-math-dev \ libboost-python-dev \ libboost-timer-dev \ libboost-thread-dev \ libboost-system-dev \ libboost-filesystem-dev \ libopenblas-dev \ libomp-dev \ cmake \ pkg-config \ git \ python3-pip \ curl \ libcurl4-openssl-dev \ wget && \ rm -rf /var/lib/apt/lists/* RUN pip install fastapi uvicorn openai fastapi requests google-genai uvicorn cryptography # Copy app and startup script COPY app.py /app.py # Start services CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]