File size: 372 Bytes
0d0e827 c337b13 1d28644 0d0e827 5e45911 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
# Install system dependencies
RUN apt-get update && apt-get install -y \
git \
curl \
build-essential \
&& rm -rf /var/lib/apt/lists/*
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN chmod +x start.sh
EXPOSE 7860
EXPOSE 8000
CMD ["./start.sh"] |