Spaces:
Runtime error
Runtime error
File size: 394 Bytes
40d0071 54febe0 e8a274b 54febe0 e8a274b 40d0071 e8a274b 40d0071 e8a274b 40d0071 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | FROM python:3.10-slim
# Install system dependencies
RUN apt-get update && apt-get install -y \
build-essential \
libjpeg62-turbo-dev \
zlib1g-dev \
libpng-dev \
libstdc++6 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /code
COPY requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
COPY . /code
EXPOSE 7860
CMD ["python", "app.py"] |