fix deploy config
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
|
||||
WORKDIR /src
|
||||
COPY ./src/ .
|
||||
RUN dotnet restore
|
||||
RUN dotnet restore --verbosity detailed
|
||||
RUN dotnet publish -c Release -o /app
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS runtime
|
||||
WORKDIR /app
|
||||
COPY --from=build /app .
|
||||
RUN mkdir -p /app/My_StaticFiles
|
||||
ENTRYPOINT ["dotnet", "GreenHome.Api.dll"]
|
||||
|
||||
Reference in New Issue
Block a user