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 5f9b487 commit dfec593Copy full SHA for dfec593
Dockerfile
@@ -7,7 +7,7 @@ COPY *.props .
7
8
RUN dotnet restore ./Api/Api.csproj
9
10
-RUN dotnet publish ./Api/Api.csproj -c Release -o /app/publish
+RUN dotnet publish ./Api/Api.csproj -c Release --no-restore -o /app/publish /p:UseAppHost=false
11
12
FROM mcr.microsoft.com/dotnet/aspnet:9.0-alpine
13
0 commit comments