Skip to content

Commit 902c7aa

Browse files
Fix Dockerfile
Fix self-contained publish not working due to quotes.
1 parent 126b0fb commit 902c7aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/net8.0/aspnetcore/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ WORKDIR /source
99
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
1010

1111
RUN --mount=type=cache,id=nuget,target=/root/.nuget/packages \
12-
dotnet publish "examples/net8.0/aspnetcore/aspnetcore.csproj" --arch "${TARGETARCH}" --configuration "${CONFIGURATION}" --output /app "${DOTNET_PUBLISH_ARGS}"
12+
dotnet publish "examples/net8.0/aspnetcore/aspnetcore.csproj" --arch "${TARGETARCH}" --configuration "${CONFIGURATION}" --output /app ${DOTNET_PUBLISH_ARGS}
1313

1414
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS final
1515
WORKDIR /app

0 commit comments

Comments
 (0)