YuITC commited on
Commit
3d3a4fd
·
1 Parent(s): c507052

fix dependencies missing

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -0
Dockerfile CHANGED
@@ -31,6 +31,16 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
31
  libtesseract5 \
32
  && rm -rf /var/lib/apt/lists/*
33
 
 
 
 
 
 
 
 
 
 
 
34
  # Copy the installed packages from the builder stage
35
  # COPY --from=builder /root/.local /root/.local
36
 
 
31
  libtesseract5 \
32
  && rm -rf /var/lib/apt/lists/*
33
 
34
+ # --- Test on HFSpace ---
35
+ # Copy requirements file
36
+ COPY requirements.txt .
37
+
38
+ # Install dependencies
39
+ RUN pip install --no-cache-dir --upgrade pip && \
40
+ pip install --no-cache-dir -r requirements.txt
41
+ # pip install --no-cache-dir --user -r requirements.txt
42
+ # ---
43
+
44
  # Copy the installed packages from the builder stage
45
  # COPY --from=builder /root/.local /root/.local
46