build: 分开镜像

This commit is contained in:
liqiang-fit2cloud 2024-03-19 19:07:40 +08:00
parent 2578d75301
commit 489ea64e20

View File

@ -21,7 +21,7 @@ ENV POSTGRES_PASSWORD Password123@postgres
WORKDIR /opt/maxkb/app
RUN mv /opt/maxkb/app/model/* /opt/maxkb/model && \
cp -r /opt/maxkb/model/base/hub /opt/maxkb/model/tokenizer && \
apt-get install -y curl && \
apt-get update && apt-get install -y curl && \
pip3 install --upgrade pip && \
pip3 install poetry && \
poetry export -f requirements.txt --output requirements.txt --without-hashes && \