mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
build: reuse v1.0.1 image.
This commit is contained in:
parent
30c4849ae4
commit
9ddee4e70f
|
|
@ -6,7 +6,7 @@ FROM ghcr.io/1panel-dev/maxkb-vector-model:v1.0.1 AS vector-model
|
|||
# pip install transformers && \
|
||||
# python3 install_model.py && \
|
||||
# cp -r model/base/hub model/tokenizer
|
||||
RUN cp -r /opt/maxkb/app/model/base/hub /opt/maxkb/app/model/tokenizer
|
||||
|
||||
FROM scratch
|
||||
COPY --from=vector-model /opt/maxkb/app/model /opt/maxkb-app/model
|
||||
COPY --from=vector-model /opt/maxkb/app/model /opt/maxkb-app/model
|
||||
COPY --from=vector-model /opt/maxkb/app/model/base/hub /opt/maxkb-app/model/tokenizer
|
||||
Loading…
Reference in New Issue