Fix warning NETSDK1194
This commit is contained in:
parent
27dd2af627
commit
46cde9fda5
@ -1,7 +1,7 @@
|
|||||||
FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy AS build
|
FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy AS build
|
||||||
WORKDIR /source
|
WORKDIR /source
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN dotnet publish -o /app
|
RUN dotnet publish --property:OutputPath=/app
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0-jammy-chiseled
|
FROM mcr.microsoft.com/dotnet/aspnet:8.0-jammy-chiseled
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
|
Loading…
Reference in New Issue
Block a user