appsimple-assistant / Dockerfile
chuckfinca's picture
Switch to Gradio 5.x — no SSR, no Node.js required
39c03ce
raw
history blame contribute delete
294 Bytes
FROM python:3.12-slim
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
RUN useradd -m -u 1000 user
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt "gradio>=5.12,<6"
COPY . .
USER user
EXPOSE 7860
CMD ["python", "app.py"]