Install pip and pre-commit in Dockerfile
This commit is contained in:
parent
1c770222be
commit
5c6831e7b1
@ -3,4 +3,12 @@ FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:${VARIANT}
|
|||||||
|
|
||||||
RUN npm install -g pnpm
|
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"
|
ENV PATH="${PATH}:./node_modules/.bin"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user