We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55d343b commit a1f280cCopy full SHA for a1f280c
Dockerfile
@@ -17,8 +17,8 @@ ARG BUILD_CONFIGURATION=Release
17
18
COPY . /src/
19
WORKDIR "/src/service/Service"
20
-RUN dotnet build Service.csproj -c $BUILD_CONFIGURATION -o /app/build
21
-RUN dotnet publish "./Service.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
+RUN dotnet build Service.csproj -c $BUILD_CONFIGURATION -o /app/build /p:RepoRoot=/src/
+RUN dotnet publish "./Service.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false /p:RepoRoot=/src/
22
23
#########################################################################
24
# prepare final content
0 commit comments