Install pip and pre-commit in Dockerfile

pull/2878/head
Flo2410 4 months ago
parent 8567f0fb7c
commit a23b35165a
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