Update Dockerfile to comply with dotnet 7.0.2 SDK changes

This commit is contained in:
Slendy 2023-03-30 20:08:20 -05:00
parent c03c9cdf2c
commit 5e4954ae32
No known key found for this signature in database
GPG key ID: 7288D68361B91428

View file

@ -13,7 +13,7 @@ RUN dotnet sln list | grep ".csproj" \
RUN dotnet restore
COPY . .
RUN dotnet publish -c Release -o /ProjectLighthouse/publish --no-restore
RUN dotnet publish -c Release --property:OutputPath=/ProjectLighthouse/publish --no-restore
# Final running container
FROM mcr.microsoft.com/dotnet/aspnet:7.0-alpine AS final