Fixed deployment

This commit is contained in:
2021-11-14 18:31:55 +01:00
parent 6ffc55f64e
commit b7a1a0be03
16 changed files with 152 additions and 35 deletions

View File

@@ -23,5 +23,8 @@ RUN dotnet publish "Todo.Api.csproj" -c Release -o /app/publish
FROM base AS final
WORKDIR /app
ENV ASPNETCORE_URLS=http://+:80
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "Todo.Api.dll"]