MightyOctopus/python-to-cpp-code-optimizer
0
1### Base Image2FROM python:3.10-slim3 4### Set working directory5WORKDIR /app6 7### Install system dependencies8RUN apt-get update && apt-get install -y \9 build-essential \10 clang \11 && ln -s /usr/bin/clang++ /usr/bin/clangpp || true \12 && rm -rf /var/lib/apt/lists/*13 14 15### Copy requirements.txt and install Python dependencies 16COPY requirements.txt .17RUN pip install --no-cache-dir -r requirements.txt 18 19### Copy the app code20COPY . .21 22### Gradio default port23EXPOSE 786024 25### Run the app26CMD ["python", "app.py"]