Skip to content

Commit 8de7536

Browse files
committed
feat: install pip deps
1 parent d79b5e8 commit 8de7536

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

src/python/.devcontainer/Dockerfile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,13 @@ RUN python3 -m pip install --upgrade \
1212
gitpython==3.1.41
1313

1414
# [Optional] If your pip requirements rarely change, uncomment this section to add them to the image.
15-
COPY .pre-commit-config.yaml /tmp/
15+
COPY .pre-commit-config.yaml /home/vscode/
1616
COPY requirements.txt /tmp/pip-tmp/
17-
RUN pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requirements.txt \
18-
&& rm -rf /tmp/pip-tmp
17+
RUN pip install -r /tmp/pip-tmp/requirements.txt
1918

2019
# [Optional] Uncomment this section to install additional OS packages.
2120
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
22-
&& apt-get -y install --no-install-recommends nodejs npm vim \
23-
&& rm -rf /var/lib/apt/lists/*
24-
21+
&& apt-get -y install --no-install-recommends nodejs npm vim
22+
2523
# [Optional] Uncomment this line to install global node packages.
2624
RUN npm install -g husky markdownlint

src/python/.devcontainer/devcontainer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"dockerFile": "Dockerfile",
33
"features": {
4-
"ghcr.io/devcontainers-contrib/features/markdownlint-cli:1": {},
54
},
65
// Configure tool-specific properties.
76
"customizations": {

0 commit comments

Comments
 (0)