Browse Source

fix: docker

Timothy J. Baek 1 year ago
parent
commit
fe587c87f7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -28,7 +28,7 @@ ENV WEBUI_JWT_SECRET_KEY "SECRET_KEY"
 WORKDIR /app
 WORKDIR /app
 
 
 # copy embedding weight from build
 # copy embedding weight from build
-COPY --from=build onnx.tar.gz /root/.cache/chroma/onnx_models/all-MiniLM-L6-v2
+COPY --from=build /app/onnx.tar.gz /root/.cache/chroma/onnx_models/all-MiniLM-L6-v2
 
 
 RUN cd /root/.cache/chroma/onnx_models/all-MiniLM-L6-v2 &&\
 RUN cd /root/.cache/chroma/onnx_models/all-MiniLM-L6-v2 &&\
     tar -xzf onnx.tar.gz
     tar -xzf onnx.tar.gz