File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ FROM mcr.microsoft.com/dotnet/sdk:7.0
2
2
WORKDIR /scip-dotnet
3
3
ADD . /scip-dotnet
4
4
RUN dotnet pack
5
+ ENV PATH="/root/.dotnet/tools:${PATH}"
5
6
RUN dotnet tool install --add-source ScipDotnet/bin/Debug/ --global scip-dotnet
6
- RUN mv /root/. dotnet/tools/scip-dotnet /usr/local/bin/scip-dotnet
7
+ RUN dotnet clean
7
8
RUN rm -rf /scip-dotnet
8
- WORKDIR /root
9
+ WORKDIR /app
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ command-line tool by following the [local install](#local-install) instructions.
13
13
Execute ` docker run ` to index a codebase with ` scip-dotnet ` .
14
14
15
15
``` sh
16
- docker run -v $( pwd) :/root sourcegraph/scip-dotnet:latest scip-dotnet index
16
+ docker run -v $( pwd) :/app sourcegraph/scip-dotnet:latest scip-dotnet index
17
17
```
18
18
19
19
Once this command finishes then you should have an ` index.scip ` file that you
You can’t perform that action at this time.
0 commit comments