From 342e639b242ebb30a51a8c99ca299d872951ce4d Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Sat, 24 Feb 2024 01:26:40 +0100 Subject: [PATCH] fix: install pre-commit with pipx --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f18f16a..6025cba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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