From 5c6831e7b1aab64ea1ad36ec9e8ea0eea1bd0543 Mon Sep 17 00:00:00 2001 From: Flo2410 Date: Fri, 9 Feb 2024 18:37:26 +0000 Subject: [PATCH] Install pip and pre-commit in Dockerfile --- .devcontainer/Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 9f20426f..3ddd873b 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -3,4 +3,12 @@ FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:${VARIANT} RUN npm install -g pnpm +RUN apt-get update \ + && apt-get -y install --no-install-recommends \ + python3-pip \ + && apt-get clean -y \ + && rm -rf /var/lib/apt/lists/* + +RUN python3 -m pip install pre-commit + ENV PATH="${PATH}:./node_modules/.bin"