fix: install pre-commit with pipx

This commit is contained in:
2024-02-24 01:26:40 +01:00
parent 712375c502
commit 342e639b24
+2 -2
View File
@@ -1,6 +1,6 @@
FROM node:20
RUN apt update && \
apt install -y python3 python3-pip ruby git && \
apt install -y python3 python3-pip ruby git pipx && \
rm -rf /var/lib/apt/lists/* && \
pip3 install pre-commit
pipx install pre-commit