Skip to content

Commit

Permalink
Additional small fix for Dockerfile.nanoserver (microsoft#805)
Browse files Browse the repository at this point in the history
* Dockerfile fixes

* Additional small fix for Dockerfile.nanoserver
  • Loading branch information
TalZaccai authored Nov 15, 2024
1 parent a9ed201 commit f6cda53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.nanoserver
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ COPY . .
WORKDIR /source/main/GarnetServer

RUN dotnet restore
RUN dotnet build -c Release
RUN dotnet build -c Release -p:EnableSourceLink=false -p:EnableSourceControlManagerQueries=false

# Copy and publish app and libraries
RUN dotnet publish -c Release -o /app -r win-x64 --self-contained false -f net8.0 -p:EnableSourceLink=false -p:EnableSourceControlManagerQueries=false
Expand Down

0 comments on commit f6cda53

Please sign in to comment.