Spaces:
Runtime error
Runtime error
Update dockerfile
Browse files12345678910FROM python:3.10-slimWORKDIR /codeCOPY requirements.txt /code/requirements.txtRUN pip install --no-cache-dir -r /code/requirements.txtCOPY . /codeCMD ["python", "app.py"]123456789101112131415161718192021FROM python:3.10-slim# Install system dependencies for Pillow and pandasRUN apt-get update && apt-get install -y \libjpeg62-turbo-dev \zlib1g-dev \libpng-dev \libstdc++6 \&& rm -rf /var/lib/apt/lists/*WORKDIR /codeCOPY requirements.txt /code/requirements.txtRUN pip install --no-cache-dir -r requirements.txtCOPY . /code# Hugging Face Spaces require the app to listen on port 7860EXPOSE 7860CMD ["python", "app.py"]
dockerfile+12-1