levanel commited on
Commit
f4bbcb0
·
1 Parent(s): a1c2e47
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -17,7 +17,7 @@ RUN pip install --no-cache-dir pybind11
17
 
18
  # Copy only what your engine needs
19
  COPY CMakeLists.txt ./
20
- COPY src/ ./src
21
  COPY include/ ./include
22
 
23
  RUN mkdir build && cd build && \
@@ -45,8 +45,8 @@ COPY --from=builder /app/build/vecmini*.so /home/user/app/
45
  COPY --chown=user . /home/user/app
46
 
47
  # IMPORTANT: This is where ALL the runtime Python packages go!
48
- RUN pip install --no-cache-dir gradio numpy pypdf transformers torch --extra-index-url https://download.pytorch.org/whl/cpu
49
 
 
50
  ENV PORT=7860
51
  EXPOSE 7860
52
 
 
17
 
18
  # Copy only what your engine needs
19
  COPY CMakeLists.txt ./
20
+ COPY src/ ./src
21
  COPY include/ ./include
22
 
23
  RUN mkdir build && cd build && \
 
45
  COPY --chown=user . /home/user/app
46
 
47
  # IMPORTANT: This is where ALL the runtime Python packages go!
 
48
 
49
+ RUN pip install --no-cache-dir gradio numpy pypdf transformers torch urllib3 --extra-index-url https://download.pytorch.org/whl/cpu
50
  ENV PORT=7860
51
  EXPOSE 7860
52