Skip to content

Commit cf5d5c7

Browse files
Revert "build: try uv."
This reverts commit 1837512.
1 parent 541f1f2 commit cf5d5c7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

installer/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ COPY --chmod=700 . /opt/maxkb-app
2121
WORKDIR /opt/maxkb-app
2222
RUN rm -rf /opt/maxkb-app/ui && \
2323
python3 -m venv /opt/py3 && \
24-
pip install uv --break-system-packages && \
24+
pip install poetry==2.0.0 --break-system-packages && \
25+
poetry config virtualenvs.create false && \
2526
. /opt/py3/bin/activate && \
2627
if [ "$(uname -m)" = "x86_64" ]; then sed -i 's/^torch.*/torch = {version = "2.7.1+cpu", source = "pytorch"}/g' pyproject.toml; fi && \
27-
uv sync --no-interaction && \
28+
poetry install && \
2829
find /opt/maxkb-app -depth \( -name ".git*" -o -name ".docker*" -o -name ".idea*" -o -name ".editorconfig*" -o -name ".prettierrc*" -o -name "README.md" -o -name "poetry.lock" -o -name "pyproject.toml" \) -exec rm -rf {} + && \
2930
export MAXKB_CONFIG_TYPE=ENV && python3 /opt/maxkb-app/apps/manage.py compilemessages && \
3031
export PIP_TARGET=/opt/maxkb-app/sandbox/python-packages && \

0 commit comments

Comments
 (0)