fix: docker

This commit is contained in:
Timothy J. Baek 2024-01-07 20:52:15 -08:00
parent 87326a3157
commit fe587c87f7

View File

@ -28,7 +28,7 @@ ENV WEBUI_JWT_SECRET_KEY "SECRET_KEY"
WORKDIR /app
# 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 &&\
tar -xzf onnx.tar.gz