fix: docker

This commit is contained in:
Timothy J. Baek 2024-01-07 20:55:32 -08:00
parent fe587c87f7
commit 34b0802cac

View file

@ -28,6 +28,8 @@ ENV WEBUI_JWT_SECRET_KEY "SECRET_KEY"
WORKDIR /app WORKDIR /app
# copy embedding weight from build # copy embedding weight from build
RUN mkdir -p /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 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 &&\