FROM python:3.10-slim RUN apt-get update && apt-get install -y git libgl1 libglib2.0-0 && rm -rf /var/lib/apt/lists/* WORKDIR /app RUN git clone https://github.com/dmMaze/BallonsTranslator.git . RUN pip install --no-cache-dir -r requirements.txt gradio COPY app.py . EXPOSE 7860 CMD ["python", "app.py"]