Spaces:
Sleeping
Sleeping
File size: 677 Bytes
ccee59f |
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.12-slim
WORKDIR /usr/src/app
COPY . .
RUN apt-get update && apt-get install -y git
# Install dependencies from requirements.txt
RUN pip3 install --no-cache-dir -r requirements.txt
#RUN pip3 uninstall gradio_client
#RUN pip3 install https://gradio-pypi-previews.s3.amazonaws.com/4bc495cb68aec014cffffce16c14ee1ddaacf7a3/gradio-4.41.0-py3-none-any.whl
#RUN pip3 install "gradio-client @ git+https://github.com/gradio-app/gradio@4bc495cb68aec014cffffce16c14ee1ddaacf7a3#subdirectory=client/python"
# Expose the port for Gradio
EXPOSE 7860
# Set the Gradio server name
ENV GRADIO_SERVER_NAME="0.0.0.0"
# Run the application
CMD ["python", "-u", "caller_v2.py"] |