Spaces:
Build error
Build error
File size: 465 Bytes
32cf305 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
FROM python:3.10.8-slim
ARG DEBIAN_FRONTEND=noninteractive
WORKDIR /app
COPY . /app
RUN apt-get update && apt-get install -y \
ffmpeg libsm6 libxext6
RUN apt-get clean && rm -rf /tmp/* /var/tmp/*
RUN python -m pip install --upgrade pip
RUN python -m pip install -r requirements.txt
ENV LC_ALL C.UTF-8
ENV LANG C.UTF-8
# container listens to port 7860
EXPOSE 7860
# Start Gradio application
CMD ["python", "app.py", "--host", "0.0.0.0", "--port", "7860"] |