File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,11 @@ COPY --chmod=700 . /opt/maxkb-app
2121WORKDIR /opt/maxkb-app
2222RUN 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 && \
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 && \
You can’t perform that action at this time.
0 commit comments