ken4 commited on
Commit
58096bf
·
verified ·
1 Parent(s): 3681d0a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -1,12 +1,13 @@
1
  FROM python:3.10-slim
2
 
3
- ARG CACHEBUST=1
4
 
5
  WORKDIR /app
6
 
7
  COPY requirements.txt .
8
 
9
  RUN pip install --upgrade pip \
 
10
  && pip install paddlepaddle==3.2.1 -i https://www.paddlepaddle.org.cn/packages/stable/cpu/ \
11
  && pip install --no-cache-dir -r requirements.txt
12
 
 
1
  FROM python:3.10-slim
2
 
3
+ ENV DISABLE_MODEL_SOURCE_CHECK=True
4
 
5
  WORKDIR /app
6
 
7
  COPY requirements.txt .
8
 
9
  RUN pip install --upgrade pip \
10
+ && pip uninstall -y opencv-python opencv-contrib-python || true \
11
  && pip install paddlepaddle==3.2.1 -i https://www.paddlepaddle.org.cn/packages/stable/cpu/ \
12
  && pip install --no-cache-dir -r requirements.txt
13