FROM python:3.12-slim # Install system dependencies and GnuCOBOL compiler RUN apt-get update && apt-get install -y \ gnucobol \ gcc \ && rm -rf /var/lib/apt/lists/* WORKDIR /app # Install Python framework dependencies RUN pip install --no-cache-dir fastapi uvicorn pyyaml # Copy everything over COPY . . EXPOSE 8000 CMD ["python", "main.py"]