Skip to content

Commit 8357491

Browse files
Warren-PittersonCopilot
andcommitted
fix: sonarqube
Co-authored-by: Copilot <copilot@github.com>
1 parent 26ee5df commit 8357491

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • application/CohortManager/src/Functions/screeningDataServices/ReferenceDataUpdater

application/CohortManager/src/Functions/screeningDataServices/ReferenceDataUpdater/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ COPY ./screeningDataServices/ReferenceDataUpdater /app/src/dotnet-function-app
55
WORKDIR /app/src/dotnet-function-app
66

77
RUN --mount=type=cache,target=/root/.nuget/packages \
8-
dotnet publish *.csproj --output /home/site/wwwroot
8+
dotnet publish ./*.csproj --output /home/site/wwwroot
99

1010
# To enable ssh & remote debugging on app service change the base image to the one below
1111
# FROM mcr.microsoft.com/azure-functions/dotnet-isolated:4-dotnet-isolated8.0-appservice
@@ -14,3 +14,4 @@ ENV AzureWebJobsScriptRoot=/home/site/wwwroot \
1414
AzureFunctionsJobHost__Logging__Console__IsEnabled=true
1515

1616
COPY --from=function ["/home/site/wwwroot", "/home/site/wwwroot"]
17+

0 commit comments

Comments
 (0)