Sunny1110/image-compression
0
1FROM python:3.10-slim2 3RUN apt-get update && apt-get install -y \4 gcc \5 g++ \6 libgl1 \7 libglib2.0-0 \8 && rm -rf /var/lib/apt/lists/*9 10WORKDIR /app11 12COPY requirements.txt .13RUN pip install --no-cache-dir -r requirements.txt14 15COPY . .16 17EXPOSE 786018 19CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--timeout", "120", "--workers", "1", "backend.app:app"]20 