Spaces:
Sleeping
Sleeping
| FROM python:3.11-slim | |
| # Minimal system deps helpful for wheels/compiles | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| build-essential \ | |
| libjpeg62-turbo-dev \ | |
| zlib1g-dev \ | |
| libfreetype6-dev \ | |
| libpng-dev \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| RUN pip install --upgrade pip setuptools wheel | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["bash","-lc","streamlit run app.py --server.port=$PORT --server.address=0.0.0.0"] | |