From 075137e9ec294b6bd8cb37c7ed42fb46bdfafa82 Mon Sep 17 00:00:00 2001 From: turnmanh <17703667+turnmanh@users.noreply.github.com> Date: Mon, 27 May 2024 13:24:23 +0200 Subject: [PATCH] moved pkg install completely to build process --- .devcontainer/Dockerfile | 1 + .devcontainer/devcontainer.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 6ce36cf..aa49f17 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -27,6 +27,7 @@ COPY . ${HOME} WORKDIR ${HOME} RUN pip install -r requirements.txt && \ + pip install -e . && \ pip install click cryptography RUN bash ./build_scripts/install_presentation_requirements.sh diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index f4bf649..3e7f1bc 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -27,7 +27,7 @@ // open the default port for jupyter notebook "forwardPorts": [8888], - "postCreateCommand": "pip install -e . && python scripts/download_data.py" + "postCreateCommand": "python scripts/download_data.py" // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. // "remoteUser": "root"