Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.linux.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.wsl2.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}