Install pip and pre-commit in Dockerfile

pull/2876/head
Flo2410 4 months ago
parent 1c770222be
commit 5c6831e7b1
No known key found for this signature in database
GPG Key ID: 8ECB00AC5216DC7F

@ -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"

Loading…
Cancel
Save