remiii25 commited on
Commit
ca31d47
·
verified ·
1 Parent(s): feed861

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -75,6 +75,7 @@ WORKDIR /app
75
  COPY app.py /app/app.py
76
 
77
  RUN python3.10 -m pip uninstall -y gradio gradio_client || true
 
78
  RUN python3.10 -c /tmp/constraints.txt -m pip install --no-cache-dir --force-reinstall "gradio>=4.44,<6" "gradio_client>=0.8"
79
  RUN python3.10 -c "import gradio as gr; print('gradio in image =', gr.__version__)"
80
 
 
75
  COPY app.py /app/app.py
76
 
77
  RUN python3.10 -m pip uninstall -y gradio gradio_client || true
78
+ RUN printf "numpy==1.26.4\n" > /tmp/constraints.txt
79
  RUN python3.10 -c /tmp/constraints.txt -m pip install --no-cache-dir --force-reinstall "gradio>=4.44,<6" "gradio_client>=0.8"
80
  RUN python3.10 -c "import gradio as gr; print('gradio in image =', gr.__version__)"
81