From 918e346c18a387665f154ef4fa1131dece262a25 Mon Sep 17 00:00:00 2001 From: OliEfr Date: Wed, 1 Oct 2025 20:40:26 +0200 Subject: [PATCH] fix devcontainer --- .devcontainer/Dockerfile | 5 +++-- .devcontainer/devcontainer.linux.json | 2 +- .devcontainer/devcontainer.wsl2.json | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index b58152d..2e92282 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -64,10 +64,11 @@ RUN pip install --no-cache-dir ruff WORKDIR /tmp/install # Copy pyproject.toml with correct ownership -COPY --chown=$USERNAME:$USERNAME pyproject.toml . +COPY --chown=$USERNAME:$USERNAME . . # Install dependencies as non-root user -RUN pip install --no-cache-dir -e ".[test,gpu]" +# add ".[test,gpu]"" if required +RUN pip install --no-cache-dir -e "." # Set final working directory WORKDIR /workspace \ No newline at end of file diff --git a/.devcontainer/devcontainer.linux.json b/.devcontainer/devcontainer.linux.json index 07c5d29..e2eba79 100644 --- a/.devcontainer/devcontainer.linux.json +++ b/.devcontainer/devcontainer.linux.json @@ -59,6 +59,6 @@ // "--gpus=all", //use only with GPU // "--runtime=nvidia" //use only with GPU ], - "postCreateCommand": "python -m pip install -e '.[test,gpu]'", + "postCreateCommand": "python -m pip install -e '.'", //[test,gpu] "remoteUser": "vscode" } \ No newline at end of file diff --git a/.devcontainer/devcontainer.wsl2.json b/.devcontainer/devcontainer.wsl2.json index 509d8dc..a0640b9 100644 --- a/.devcontainer/devcontainer.wsl2.json +++ b/.devcontainer/devcontainer.wsl2.json @@ -68,6 +68,6 @@ // "--gpus=all", //use only with GPU // "--runtime=nvidia" //use only with GPU ], - "postCreateCommand": "python -m pip install -e '.[test,gpu]'", + "postCreateCommand": "python -m pip install -e '.'", //[test,gpu] "remoteUser": "vscode" } \ No newline at end of file