FROM python:3.11-slim WORKDIR /app RUN apt-get update && apt-get install -y \ build-essential \ git \ && rm -rf /var/lib/apt/lists/* COPY requirements_simple.txt requirements.txt RUN pip install --no-cache-dir -r requirements.txt COPY app_simple.py app.py EXPOSE 7860 # Set model (change this to use different Gemma 4 variant) ENV MODEL_NAME=google/gemma-4-E4B-it CMD ["python", "app.py"]