guohanghui commited on
Commit
3e20b53
·
verified ·
1 Parent(s): d55668f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -11,7 +11,9 @@ ENV PATH="/home/user/.local/bin:$PATH"
11
  WORKDIR /app
12
 
13
  COPY --chown=user ./requirements.txt requirements.txt
14
- RUN pip install --no-cache-dir --upgrade -r requirements.txt
 
 
15
 
16
  COPY --chown=user . /app
17
  ENV MCP_TRANSPORT=http
 
11
  WORKDIR /app
12
 
13
  COPY --chown=user ./requirements.txt requirements.txt
14
+ RUN pip install --no-cache-dir --upgrade -r requirements.txt && \
15
+ pip uninstall -y opencv-python || true && \
16
+ pip install --no-cache-dir --force-reinstall opencv-python-headless>=4.10.0.84
17
 
18
  COPY --chown=user . /app
19
  ENV MCP_TRANSPORT=http