Skip to content

Commit 0732936

Browse files
committed
fix: replace pip with uv for package installation in Dockerfile
1 parent ded8281 commit 0732936

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
@@ -28,7 +28,7 @@ RUN rm -rf /opt/maxkb-app/ui && \
2828
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 {} + && \
2929
export MAXKB_CONFIG_TYPE=ENV && python3 /opt/maxkb-app/apps/manage.py compilemessages && \
3030
export PIP_TARGET=/opt/maxkb-app/sandbox/python-packages && \
31-
pip install requests pymysql psycopg2-binary && \
31+
uv pip install --target=$PIP_TARGET requests pymysql psycopg2-binary && \
3232
rm -rf /opt/maxkb-app/installer
3333
COPY --from=web-build --chmod=700 ui /opt/maxkb-app/ui
3434

0 commit comments

Comments
 (0)