leotsha / Dockerfile
Sediba-AI
fix: STATIC_ROOT, migrate on startup, proper startup script
a6b5991
Raw
History Blame Contribute Delete
292 Bytes
FROM python:3.12-slim
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential git \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
CMD ["bash", "startup.sh"]