Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -64,8 +64,8 @@ RUN pip install -c /tmp/constraints.txt -q --no-build-isolation --no-deps submod
|
|
| 64 |
RUN pip install -q --no-build-isolation submodules/langsplat-rasterization
|
| 65 |
RUN pip install -q --no-build-isolation submodules/segment-anything-langsplat
|
| 66 |
|
| 67 |
-
RUN pip uninstall -y gradio || true
|
| 68 |
-
RUN pip install -U "gradio>=4.0.0" "gradio_client>=0.8.0"
|
| 69 |
|
| 70 |
# App/runtime deps
|
| 71 |
#RUN pip install gradio requests huggingface_hub opencv-python-headless
|
|
@@ -75,7 +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 -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 |
|
| 81 |
EXPOSE 7860
|
|
|
|
| 64 |
RUN pip install -q --no-build-isolation submodules/langsplat-rasterization
|
| 65 |
RUN pip install -q --no-build-isolation submodules/segment-anything-langsplat
|
| 66 |
|
| 67 |
+
#RUN pip uninstall -y gradio || true
|
| 68 |
+
#RUN pip install -U "gradio>=4.0.0" "gradio_client>=0.8.0"
|
| 69 |
|
| 70 |
# App/runtime deps
|
| 71 |
#RUN pip install gradio requests huggingface_hub opencv-python-headless
|
|
|
|
| 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 |
|
| 81 |
EXPOSE 7860
|