Spaces:
Runtime error
Runtime error
File size: 490 Bytes
bb92a2a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | FROM python:3.11-slim
WORKDIR /app
COPY packages.txt /app/packages.txt
RUN apt-get update && \
apt-get install -y --no-install-recommends git gcc libc6-dev && \
xargs apt-get install -y --no-install-recommends < /app/packages.txt && \
rm -rf /var/lib/apt/lists/*
COPY requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir gradio==5.28.0
RUN pip install --no-cache-dir -r /app/requirements.txt
COPY . /app
ENV PORT=7860
EXPOSE 7860
CMD ["python", "app.py"]
|