Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -76,7 +76,7 @@ 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
|
| 80 |
RUN python3.10 -c "import gradio as gr; print('gradio in image =', gr.__version__)"
|
| 81 |
|
| 82 |
EXPOSE 7860
|
|
|
|
| 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 -m pip install -c /tmp/constraints.txt --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 |
|
| 82 |
EXPOSE 7860
|