Spaces:
Sleeping
Sleeping
File size: 448 Bytes
5823ed6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
FROM python:3.11-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
libcairo2 pango1.0-tools libpango-1.0-0 libgdk-pixbuf2.0-0 libffi-dev \
fonts-noto fonts-noto-cjk git \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /code
COPY requirements.txt .
RUN pip install --no-cache-dir -U pip wheel && pip install --no-cache-dir -r requirements.txt
COPY . .
ENV GRADIO_SERVER_NAME=0.0.0.0
EXPOSE 7860
CMD ["python", "app.py"]
|