Skip to content

Commit 923c755

Browse files
authored
build: Specify the poetry version (#1989)
1 parent d744fb4 commit 923c755

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

installer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RUN mkdir -p /opt/maxkb/app /opt/maxkb/model /opt/maxkb/conf && \
2222
COPY --from=web-build ui /opt/maxkb/app/ui
2323
WORKDIR /opt/maxkb/app
2424
RUN python3 -m venv /opt/py3 && \
25-
pip install poetry --break-system-packages && \
25+
pip install poetry==1.8.5 --break-system-packages && \
2626
poetry config virtualenvs.create false && \
2727
. /opt/py3/bin/activate && \
2828
if [ "$(uname -m)" = "x86_64" ]; then sed -i 's/^torch.*/torch = {version = "^2.2.1+cpu", source = "pytorch"}/g' pyproject.toml; fi && \

0 commit comments

Comments
 (0)